ErrorConfigDefinition
final class ErrorConfigDefinition extends AbstractConfigDefinition (View source)
Builds one composable layer of HTTP error-page template configuration.
Properties
| protected mixed[] | $data | from AbstractConfigDefinition |
Methods
Replaces one configuration value at a dot-separated path.
Appends one configuration value at a dot-separated list path.
Creates an empty definition that contributes only explicitly configured templates.
Returns the registry key under which error-page definitions are collected.
Selects the view rendered for resources that cannot be found.
Selects the view rendered for unexpected server failures.
Details
toArray
array
toArray()
No description
set
protected AbstractConfigDefinition
set(string $path, mixed $value)
Replaces one configuration value at a dot-separated path.
append
protected AbstractConfigDefinition
append(string $path, mixed $value)
Appends one configuration value at a dot-separated list path.
create
static ErrorConfigDefinition
create()
Creates an empty definition that contributes only explicitly configured templates.
moduleKey
static string
moduleKey()
Returns the registry key under which error-page definitions are collected.
notFoundView
ErrorConfigDefinition
notFoundView(string $template)
Selects the view rendered for resources that cannot be found.
internalServerErrorView
ErrorConfigDefinition
internalServerErrorView(string $template)
Selects the view rendered for unexpected server failures.