Skip to content

Registering observers with the ObservedBy attribute is not tracked by event:list command #53616

Open
@illambo

Description

@illambo

Laravel Version

11.33.2

PHP Version

8.2.24

Database Driver & Version

No response

Description

Hi, I noticed that when I register an observers with the ObservedBy attribute is not tracked by event:list command while via observe method in an AppServiceProvider this is appropriately tracked.

Steps To Reproduce

  • Create a model with an Observer
  • Run php artisan event:list command
  • Check the different behavior based on the register mode

Note

With the model:show command it is correctly traced in both attack modes.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions