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