setControllerContext() public method

Set the controller context
public setControllerContext ( TYPO3\Flow\Mvc\Controller\ControllerContext $controllerContext ) : void
$controllerContext TYPO3\Flow\Mvc\Controller\ControllerContext
return void
 /**
  * Set the controller context on the feedback collection after the controller
  * has been initialized
  *
  * @param RequestInterface $request
  * @param ResponseInterface $response
  * @return void
  */
 public function initializeController(RequestInterface $request, ResponseInterface $response)
 {
     parent::initializeController($request, $response);
     $this->feedbackCollection->setControllerContext($this->getControllerContext());
 }