Newscoop\Service\Implementation\ThemeServiceLocalFileSystem::getErrorHandler PHP Method

getErrorHandler() protected method

Provides the error handler.
protected getErrorHandler ( ) : Newscoop\Service\IErrorHandler
return Newscoop\Service\IErrorHandler The error handler to be used.
    protected function getErrorHandler()
    {
        if ($this->errorHandler === NULL) {
            $this->errorHandler = $this->getResourceId()->getService(IErrorHandler::NAME);
        }
        return $this->errorHandler;
    }