Пример #1
0
 public function run(Request &$request)
 {
     Log::point(__METHOD__);
     Sokol::checkAccess($this);
     $controller = Sokol::setController(HttpKernel::getController($request));
     return $controller->run($request);
 }
Пример #2
0
 public function run(Request &$request)
 {
     LOG::point(__METHOD__);
     Sokol::checkAccess($this);
     $action = HttpKernel::getAction($this, $request);
     //--- ACTION
     return $this->{$action}($request);
 }