Esempio n. 1
0
 /**
  *@return \Framework\Application
  */
 public static function getInstance()
 {
     if (self::$_instance == null) {
         self::$_instance = new \Framework\Application();
     }
     return self::$_instance;
 }
Esempio n. 2
0
 public function __construct(array $values = [])
 {
     parent::__construct($values);
     self::$_instance = $this;
 }