I did the same thing as above : https://github.com/symfony/symfony/blob/master/src/Symfony/Bridge/Twig/Extension/HttpKernelExtension.php#L60

People can do some mistakes.