-
Notifications
You must be signed in to change notification settings - Fork 251
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing getName on Twig_ExtensionInterface throws error #169
Comments
Requirement for version 1 of twig was updated from 1.12 to 1.26 in order to support twig 2. |
Fixed by #170 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm trying to implement this in Symfony 2.8 on PHP 7.0 and running against following error:
[Symfony\Component\Debug\Exception\FatalErrorException]
Error: Class Cocur\Slugify\Bridge\Twig\SlugifyExtension contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (Twig_ExtensionInterface::getName)
If I manually add the getName() function to the class, it doesn't throw the error.
The text was updated successfully, but these errors were encountered: