Bluz\Controller\Controller::setReflection PHP Метод

setReflection() защищенный Метод

Retrieve reflection for anonymous function
protected setReflection ( ) : Reflection
Результат Reflection
    protected function setReflection()
    {
        // cache for reflection data
        if (!($reflection = Cache::get('reflection:' . $this->module . ':' . $this->controller))) {
            $reflection = new Reflection($this->getFile());
            $reflection->process();
            Cache::set('reflection:' . $this->module . ':' . $this->controller, $reflection);
            Cache::addTag('reflection:' . $this->module . ':' . $this->controller, 'reflection');
        }
        $this->reflection = $reflection;
    }