Neos\Flow\Core\Bootstrap::setActiveRequestHandler PHP Method

setActiveRequestHandler() public method

This method makes only sense to use during functional tests. During a functional test run the active request handler chosen by the bootstrap will be a command line request handler specialized on running functional tests. A functional test case can then set the active request handler to one which simulates, for example, an HTTP request.
public setActiveRequestHandler ( Neos\Flow\Core\RequestHandlerInterface $requestHandler ) : void
$requestHandler Neos\Flow\Core\RequestHandlerInterface
return void
    public function setActiveRequestHandler(RequestHandlerInterface $requestHandler)
    {
        $this->activeRequestHandler = $requestHandler;
    }