diff --git a/config/autoload/dependencies.global.php b/config/autoload/dependencies.global.php index c0f4b585..d027c627 100644 --- a/config/autoload/dependencies.global.php +++ b/config/autoload/dependencies.global.php @@ -13,6 +13,7 @@ return [ Expressive\Application::class => Container\ApplicationFactory::class, Router\FastRouteRouter::class => InvokableFactory::class, Template\TemplateRendererInterface::class => Twig\TwigRendererFactory::class, + \Twig_Environment::class => Twig\TwigEnvironmentFactory::class, ], 'aliases' => [ Router\RouterInterface::class => Router\FastRouteRouter::class,