Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimize models collector #1051

Merged
merged 2 commits into from
Jun 27, 2020
Merged

Optimize models collector #1051

merged 2 commits into from
Jun 27, 2020

Conversation

sebdesign
Copy link
Contributor

Use a wildcard to listen to the eloquent.retrieved:* events instead of listening to all the eloquent.* events.

Also I took the liberty to add some tests! 😅

Use a wildcard to listen to the `eloquent.retrieved:*` events
instead of listening to all the `eloquent.*` events.
@barryvdh
Copy link
Owner

Nice. Was just thinking I should add some tests :p

@barryvdh barryvdh merged commit bbf7f25 into barryvdh:master Jun 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants