Property | Type | Description | |
---|---|---|---|
$notFoundPage | string | ||
$render | |||
$storage | |||
$templateChooser |
Method | Description | |
---|---|---|
__construct ( string $notFoundPage, |
NotFoundListener constructor. | |
getSubscribedEvents ( ) | ||
onKernelException ( |
Render the not found page if on frontend and http exception |
Method | Description | |
---|---|---|
renderNotFound ( |
Render a not found template. |
public __construct ( string $notFoundPage, |
||
$notFoundPage | string | |
$storage | ||
$templateChooser | ||
$twig | Twig_Environment | |
$render |
public onKernelException ( |
||
$event |