src/Mvc/Controller/AbstractController.php
final public function getControllerSettings()
    {
        $rf = new \ReflectionClass($this);
        
        $this->response = new Response();
        $this->controllerClass = $rf->getShortName();
        $this->controllerName = ucfirst(str_replace('Controller', '', $this->controllerClass));
        $this->response->setTitle($this->controllerName);
        
        $actions = $rf->getMethods(\ReflectionMethod::IS_PUBLIC);
        
        foreach ($actions as $action) {
            $this->parseAnnotations($action);
        }
        
        return $this;
    }
final public function getControllerSettings()
    {
        $rf = new \ReflectionClass($this);
        
        $this->response = new Response();
        $this->controllerClass = $rf->getShortName();
        $this->controllerName = ucfirst(str_replace('Controller', '', $this->controllerClass));
        $this->response->setTitle($this->controllerName);
        
        $actions = $rf->getMethods(\ReflectionMethod::IS_PUBLIC);
        
        foreach ($actions as $action) {
            $this->parseAnnotations($action);
        }
        
        return $this;
    }
Get the controller prepared for service

@return \Nkey\Caribu\Mvc\Controller\AbstractController The controller instance