mirror of
https://github.com/igorsimdyanov/php8.git
synced 2025-07-25 17:13:08 +00:00
23 lines
356 B
PHP
23 lines
356 B
PHP
<?php
|
|
class Page
|
|
{
|
|
static $content = 'about<br />';
|
|
|
|
public static function footer()
|
|
{
|
|
return 'footer<br />';
|
|
}
|
|
|
|
public static function header()
|
|
{
|
|
return 'header<br />';
|
|
}
|
|
|
|
public static function render()
|
|
{
|
|
echo self::header() .
|
|
self::$content .
|
|
self::footer();
|
|
}
|
|
}
|