public function setErrorHandler(ErrorHandlerManagerInterface $errorHandler) { $this->errorHandler = $errorHandler; }