private function getController()
    {
        if (empty($this->controllerName)) {
            return null;
        }

        if (isset($this->controller)) {
            return $this->controller;
        }

        $this->controller = $this->createControllerFromClassName($this->controllerName);

        return $this->controller;
    }
private function getController()
    {
        if (empty($this->controllerName)) {
            return null;
        }

        if (isset($this->controller)) {
            return $this->controller;
        }

        $this->controller = $this->createControllerFromClassName($this->controllerName);

        return $this->controller;
    }
private function getController ( ) { if ( empty ( $ this -> controllerName ) ) { return null ; } if ( isset ( $ this -> controller ) ) { return $ this -> controller ; } $ this -> controller = $ this -> createControllerFromClassName ( $ this -> controllerName ) ; return $ this -> controller ; }
Get the Controller for this action. The Controller will only be created once

@return mixed Returns null if this is not a Controller based action
Get the Controller for this action . The Controller will only be created once