public function getController($method)
    {
        if (is_null($this->_controller)) {
            $className = $this->_routeInfo->getController();
            if (!class_exists($className)) {
                throw new Exception\ControllerNotFoundException(
                    "Controller '{$className}' not found"
                );
            }

            $options = array(
                'request' => $this->_application->getRequest(),
                'response' => $this->_application->getResponse(),
            );

            /** @var Controller $instance */
            $instance = new $className($options);
            $methodExists = method_exists($instance,$method);
            $this->_controller = $instance;
            if (!$methodExists && $instance->isScaffold()) {
                $this->_controller = Scaffold::getScaffoldController(
                    $instance
                );
            }
        }
        return $this->_controller;
    }