fileNamePattern('*.twig'); $twig->formThemes(['form/theme.html.twig']); $twig->global('appName', service(AppName::class)); if ($containerConfigurator->env() === 'test') { $twig->strictVariables(true); } };