protected function createController()
	{
		$class = new $this->controller();
		$class->initController($this->request, $this->response, Services::logger());

		$this->benchmark->stop('controller_constructor');

		return $class;
	}
protected function createController()
	{
		$class = new $this->controller();
		$class->initController($this->request, $this->response, Services::logger());

		$this->benchmark->stop('controller_constructor');

		return $class;
	}
protected function createController ( ) { $ class = new $ this -> controller ( ) ; $ class -> initController ( $ this -> request , $ this -> response , Services :: logger ( ) ) ; $ this -> benchmark -> stop ( 'controller_constructor' ) ; return $ class ; }
Instantiates the controller class.

@return mixed
Instantiates the controller class .