app() public static method

public static app ( ) : Engine
return flight\Engine Application instance
Esempio n. 1
0
 /**
  * Handles calls to static methods.
  *
  * @param string $name Method name
  * @param array $params Method parameters
  * @return mixed Callback results
  * @throws \Exception
  */
 public static function __callStatic($name, $params)
 {
     $app = Flight::app();
     return \flight\core\Dispatcher::invokeMethod(array($app, $name), $params);
 }