scope name in laravel example
Example 1: php artisan make model
php artisan make:model Flight
Example 2: laravel scope query
$model = App\Models\Flight::where('legs', '>', 100)
->firstOr(['id', 'legs'], function () {
// ...
});