Skip to content

getAttribute method should use is_callable rather than method_exists #3

Description

@fabpot

In the getAttribute method, method_exists is used to see if the given twig template variable has a given method available. This should be changed to use is_callable instead to add support for magic methods.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions