/**
  * @return mixed
  */
 public function view()
 {
     ViewFactory::setApplication(Application::instance());
     return ViewFactory::make();
 }
示例#2
0
 /**
  * @param $method
  * @param $params
  * @return mixed
  */
 public static function __callStatic($method, $params)
 {
     return call_user_func_array([ViewFactory::make(), $method], [$params]);
 }
 /**
  * @return mixed
  */
 public function view()
 {
     return ViewFactory::make();
 }