W3cubDocs

/Laravel 11

ScopedBy

class ScopedBy (View source)

Methods

void __construct(array|string $classes)

Create a new attribute instance.

Details

void __construct(array|string $classes)

Create a new attribute instance.

Parameters

array|string $classes

Return Value

void

© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/11.x/Illuminate/Database/Eloquent/Attributes/ScopedBy.html