Играемся с шаблоном

This commit is contained in:
Igor Barkov (iwork) 2020-09-30 13:53:39 +03:00
parent e4343f28b5
commit 6ad9a04a25

View File

@ -1,11 +1,13 @@
<?php <?php
# Date: 30.09.2020 (09:42) # Date: 30.09.2020 (09:42)
abstract class Template class Template
{ {
/**
* Template constructor.
*/
public function __construct() public function __construct()
{ {
//Ничего не генерируем, обращаемся к статике сразу.
} }
public static function header($title = null) public static function header($title = null)