You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@
7
7
8
8
Register Eloquent model event listeners just-in-time directly from the model.
9
9
10
-
Using [Observers](https://laravel.com/docs/9.x/eloquent#observers) can introduce a (significant) overhead on the application since they are usually registered in a service
10
+
Using [Observers](https://laravel.com/docs/10.x/eloquent#observers) can introduce a (significant) overhead on the application since they are usually registered in a service
11
11
provider which results in every model in your application with a observer is "booted" a startup of the application even though the model is never touched in the request. This
12
12
package aims to reduce that overhead by connecting listeners just-in-time whenever the Eloquent model is booted (first used) in the request. The event callbacks are also
13
13
defined on the model itself keeping the code cleaner, althought this is my preference of course and if you disagree this might not be the package for you.
0 commit comments