that does not work as this method does not exist in all versions of Twig.