예제 #1
0
파일: Base.php 프로젝트: kurbmedia/Valet
 /**
  * Get the instance
  *
  * @return void
  **/
 public static function instance()
 {
     if (!isset(self::$_instance) || !self::$_instance instanceof Base) {
         self::$_instance = new Base();
     }
     return self::$_instance;
 }
예제 #2
0
 public function __construct($content, $title = null, $description = null)
 {
     parent::__construct($title == null ? $this->getApplicationTitle() : $title, $description);
     $this->content = $content;
 }