/** * Get the instance * * @return void **/ public static function instance() { if (!isset(self::$_instance) || !self::$_instance instanceof Base) { self::$_instance = new Base(); } return self::$_instance; }
public function __construct($content, $title = null, $description = null) { parent::__construct($title == null ? $this->getApplicationTitle() : $title, $description); $this->content = $content; }