Esempio n. 1
0
 /**
  * Create an instance to encapsulate all controller logic
  *
  * @return void
  */
 public function __construct()
 {
     call_user_func(array($this, Moor::getActiveShortMethod()));
 }
Esempio n. 2
0
 /**
  * Gets instance of Moor for chaining methods
  *
  * @return void
  */
 private static function getInstance()
 {
     if (self::$instance) {
         return self::$instance;
     }
     return self::$instance = new self();
 }