src/ItePHP/Core/HTTPDispatcher.php
protected function prepareView(Presenter $presenter , Response $response){
		$eventManager=$this->container->getEventManager();
		$event=new ExecutePresenterEvent($this->request,$response);
		$eventManager->fire('executePresenter',$event);

		$presenter->render($this->request,$response);
	}
protected function prepareView(Presenter $presenter , Response $response){
		$eventManager=$this->container->getEventManager();
		$event=new ExecutePresenterEvent($this->request,$response);
		$eventManager->fire('executePresenter',$event);

		$presenter->render($this->request,$response);
	}
protected function prepareView ( Presenter $ presenter , Response $ response ) { $ eventManager = $ this -> container -> getEventManager ( ) ; $ event = new ExecutePresenterEvent ( $ this -> request , $ response ) ; $ eventManager -> fire ( 'executePresenter' , $ event ) ; $ presenter -> render ( $ this -> request , $ response ) ; }
Render view

@param Presenter $presenter
@param Response $response
Render view