Unnamed
public text v1 · immutableSite.php
<?php
class Site {
// General Site Information
/** Site name. */
public $name;
}
?>
Framework.php
<?php
require_once("config/Config.php");
require_once("core/Site.php");
global $site;
$site = new Site();
$site->name = Config::$siteName;
?>
Page.php
<?php
require_once("../Framework.php");
class Page {
private $title = $GLOBALS["site"]->name;
// more junk
}
?>