maximos's avatar

Where is attribute ScopedBy?

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

0 likes
2 replies

Please or to participate in this conversation.