public static function createTwigEngine(ContainerInterface $container): TwigEngine
    {
        $engine = new TwigEngine($container->get(TwigEnvironment::class), $container->get('config'));
        $engine->setContainer($container);

        return $engine;
    }