заполняемый laravel
/**
* The attributes that are mass assignable.
*/
protected $fillable = [
'title',
'slug',
'body',
'image',
'published',
'comments_open'
];
заявка за търсене laravel
$model = App\Models\Flight::where('legs', '>', 100)->firstOr(function () {
// ...
});