Skip to content

[Pointcut] Add support for matching by return-type #370

Description

@lisachenko

For PHP7 it's allowed to use return typehint for methods and functions. Framework should support this kind of syntax via pointcut expression.

Proposed format is following:

execution(public Example->method(*): string)
execution(Demo\*\Test\**\*(*): bool)

First one for methods and second one for functions.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions