Глава 36: переработка автозагрузки

This commit is contained in:
Igor Simdyanov
2022-05-28 12:01:16 +03:00
parent 8ef734e585
commit fc1ecdd722
7 changed files with 19 additions and 32 deletions

View File

@ -1,7 +1,7 @@
<?php
require_once(__DIR__ . '/PHP8/seo.php');
require_once(__DIR__ . '/PHP8/tag.php');
require_once(__DIR__ . '/PHP8/author.php');
require_once(__DIR__ . '/PHP8/page.php');
$page = new PHP8\Page('О нас', 'Содержимое страницы');
$page->tags(); // Tag::tags
$page->authors(); // Author::authors()