public function registerRequestHandler(RequestHandlerInterface $requestHandler) { $this->requestHandlers[get_class($requestHandler)] = $requestHandler; }
/** * Invokes custom PHP code directly after the package manager has been initialized. * * @param \Neos\Flow\Core\Bootstrap $bootstrap The current bootstrap * @return void */ public function boot(\Neos\Flow\Core\Bootstrap $bootstrap) { $bootstrap->registerRequestHandler(new \Neos\Setup\Core\RequestHandler($bootstrap)); }