Missing getName on Twig_ExtensionInterface throws error · Issue #169 · cocur/slugify · GitHub
Skip to content

Missing getName on Twig_ExtensionInterface throws error #169

Closed
@TomCan

Description

@TomCan

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions