/**
* Inject strategy with configured not_found_template.
*
* @param RouteNotFoundStrategy $strategy
* @param array $config
*/
private function injectNotFoundTemplate(RouteNotFoundStrategy $strategy, array $config)
{
$template = isset($config['not_found_template']) ? $config['not_found_template'] : '404';
$strategy->setNotFoundTemplate($template);
}