UnexpectedErrorErrorPageReader
in package
implements
ErrorPageReader
Class UnexpectedErrorErrorPageReader
Interfaces, Classes and Traits
- ErrorPageReader
- Interface ErrorPageReader
Table of Contents
- $environment : Environment
- $errorPagesDir : string
- $pathToFlagFile : string
- __construct() : mixed
- UnexpectedErrorErrorPageReader constructor.
- getType() : string
- getUserFriendlyErrorPageActiveState() : bool
- getUserFriendlyErrorPageFilePath() : string
Properties
$environment
private
Environment
$environment
$errorPagesDir
private
string
$errorPagesDir
$pathToFlagFile
private
string
$pathToFlagFile
Methods
__construct()
UnexpectedErrorErrorPageReader constructor.
public
__construct(Environment $environment, string $errorPagesDir, string $pathToFlagFile) : mixed
Parameters
- $environment : Environment
- $errorPagesDir : string
- $pathToFlagFile : string
Return values
mixed —getType()
public
getType() : string
Tags
Return values
string —getUserFriendlyErrorPageActiveState()
public
getUserFriendlyErrorPageActiveState() : bool
Tags
Return values
bool —getUserFriendlyErrorPageFilePath()
public
getUserFriendlyErrorPageFilePath(string $languageCode) : string
Parameters
- $languageCode : string