Level 50
Added in version 10.44.0: https://github.com/laravel/framework/commit/67a0e4716ab3cbf92528a41a8515dfb8d8bbaa37
1 like
I created new scope-class according to the documentation https://laravel.com/docs/10.x/eloquent#applying-global-scopes
Docs says: To assign a global scope to a model, you may simply place the ScopedBy attribute on the model:
But this attribute are not exists https://skr.sh/sOHxTpMEr5X
Version of Laravel is 10.43.0
Added in version 10.44.0: https://github.com/laravel/framework/commit/67a0e4716ab3cbf92528a41a8515dfb8d8bbaa37
Please or to participate in this conversation.