Skip to content
This repository was archived by the owner on Dec 20, 2023. It is now read-only.

Conversation

@ahinkle
Copy link
Owner

@ahinkle ahinkle commented Jul 11, 2019

PR adds dispatchesEvents property as a snippet.

Template:

protected $dispatchesEvents = [
    '' => ,
];

Example use:

protected $dispatchesEvents = [
    'saving' => \App\Events\UserSaving::class,
];

@ahinkle ahinkle merged commit e0b5ded into master Jul 11, 2019
@ahinkle ahinkle deleted the dispatchEvents branch July 11, 2019 16:06
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants