mirror of
https://github.com/igorsimdyanov/php8.git
synced 2025-08-06 11:10:42 +00:00
Глава 36: переработка автозагрузки
This commit is contained in:
@ -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()
|
||||
|
Reference in New Issue
Block a user