Documentation

Scope

Table of Contents

apply()  : void
Apply the scope to a given Eloquent query builder.

Methods

apply()

Apply the scope to a given Eloquent query builder.

public apply(Builder $builder, Model $model) : void
Parameters
$builder : Builder
$model : Model
Return values
void

Search results