Skip to content

Feature Request: Action Events #327

@SalehHaddawi

Description

@SalehHaddawi

Hello,
Thanks for the amazing package,
I'm trying to use the package in my system but I want to add a logging system to actions, so the executed commands gets logged,
I have used laravel Events
currently two event:

  • ActionHandling (before Action)
  • ActionHandled (after Action)

so my way to do it is to add the code in each of the decorators before & after dispatching events,
as for the direct object call, after many attempts I decided to create new decorator (ObjectDecorator) that wrap the action and dispatch events before handle method is called.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions