protected function parseController($class)
    {
        $controller           = new ReflectionClass($class);
        $this->fullController = $controller->name;
        $class                = $controller->getShortName();
        $this->controller     = strtolower(str_replace('Controller', '', $class));
    }
protected function parseController($class)
    {
        $controller           = new ReflectionClass($class);
        $this->fullController = $controller->name;
        $class                = $controller->getShortName();
        $this->controller     = strtolower(str_replace('Controller', '', $class));
    }
protected function parseController ( $ class ) { $ controller = new ReflectionClass ( $ class ) ; $ this -> fullController = $ controller -> name ; $ class = $ controller -> getShortName ( ) ; $ this -> controller = strtolower ( str_replace ( 'Controller' , '' , $ class ) ) ; }
Get a properly formatted controller name.

@param string $class

@return string
Get a properly formatted controller name .