Skip to content

AliasGenerator doesn't support class methods #1

@matapatos

Description

@matapatos

The AliasGenerator cannot be used in class methods:

class Example {
    #[AliasGenerator('snake')]  // Doesn't work
    public function __invoke() {}
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    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