Bolt\EventListener\NotFoundListener::__construct PHP Method

__construct() public method

NotFoundListener constructor.
public __construct ( string $notFoundPage, Storage $storage, TemplateChooser $templateChooser, Twig_Environment $twig, Render $render )
$notFoundPage string
$storage Bolt\Legacy\Storage
$templateChooser Bolt\TemplateChooser
$twig Twig_Environment
$render Bolt\Render
    public function __construct($notFoundPage, Storage $storage, TemplateChooser $templateChooser, TwigEnvironment $twig, Render $render)
    {
        $this->notFoundPage = $notFoundPage;
        $this->storage = $storage;
        $this->templateChooser = $templateChooser;
        $this->twig = $twig;
        $this->render = $render;
    }