/** * @return mixed */ public function view() { ViewFactory::setApplication(Application::instance()); return ViewFactory::make(); }
/** * @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(); }