Skip to content

[5.5] listensFor in event listener unusable #21030

@jthomaschewski

Description

@jthomaschewski
  • Laravel Version: 5.5.2
  • PHP Version: 7.1

Description:

The stubs for event listeners have the property $listensFor to list events as introduces in #19917

But it looks like relevant changes in the EventServiceProvider have been reverted in 5ed4f50

It's confusing to have this attribute in the stub if it can't be used (yet?).

What are the reasons why the PR has been reverted? Maybe an updated PR could be included in a minor release.

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