privates['twig.command.lint'] = $instance = new \Symfony\Bundle\TwigBundle\Command\LintCommand(($container->privates['twig'] ?? $container->getTwigService())); $instance->setName('lint:twig'); $instance->setDescription('Lint a Twig template and outputs encountered errors'); return $instance; } }