PageNotFoundErrorPageWriter
in package
implements
ErrorPageWriter
Class PageNotFoundErrorPageWriter
Interfaces, Classes and Traits
- ErrorPageWriter
- Interface ErrorPageWriter
Table of Contents
- $configurationService : ConfigurationService
- $errorPagesDir : string
- $generator : ErrorPageGenerator
- $logger : LoggerInterface
- __construct() : mixed
- UnexpectedErrorErrorPageWriter constructor.
- deleteUserFriendlyErrorPages() : void
- getType() : string
- setUserFriendlyErrorPageActiveState() : void
- storeUserFriendlyErrorPage() : void
Properties
$configurationService
private
ConfigurationService
$configurationService
$errorPagesDir
private
string
$errorPagesDir
$generator
private
ErrorPageGenerator
$generator
$logger
private
LoggerInterface
$logger
Methods
__construct()
UnexpectedErrorErrorPageWriter constructor.
public
__construct(LoggerBuilder $loggerBuilder, ErrorPageGenerator $generator, ConfigurationService $configurationService, string $errorPagesDir) : mixed
Parameters
- $loggerBuilder : LoggerBuilder
- $generator : ErrorPageGenerator
- $configurationService : ConfigurationService
- $errorPagesDir : string
Return values
mixed —deleteUserFriendlyErrorPages()
public
deleteUserFriendlyErrorPages() : void
Tags
Return values
void —getType()
public
getType() : string
Tags
Return values
string —setUserFriendlyErrorPageActiveState()
public
setUserFriendlyErrorPageActiveState(bool $state) : void
Parameters
- $state : bool
Tags
Return values
void —storeUserFriendlyErrorPage()
public
storeUserFriendlyErrorPage(string $languageCode, string $html) : void
Parameters
- $languageCode : string
- $html : string