Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Provide access to low-level components #74

Open
@codeliner

Description

Since PHP 8 Attributes are currently not supported (see #73 ) but PHP Parser can handle them, I tried to find a way to add an attribute to a ClassMethod.

Unfortunately, there is no way to get access to the low-level PHP Parser functionality. For my use case the easiest extension point would be to inject my own method generator, but it is a final class. No way to decorate it or exchange with a custom implementation.

Hence my suggestion to use more interfaces in combination with default implementations so that users of the library can inject custom logic if needed.

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

        AltStyle によって変換されたページ (->オリジナル) /