Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel scope

public function apply(Builder $builder, Model $model)
    {
        $builder->where('age', '>', 200);
    }
Source by laravel.com #
 
PREVIOUS NEXT
Tagged: #laravel #scope
ADD COMMENT
Topic
Name
3+8 =