public function __construct(Container $container, ErrorHandler $errorHandler) { $this->container = $container; $this->errorHandler = $errorHandler; }