apply() apply(\Illuminate\Database\Eloquent\Builder $builder, \Illuminate\Database\Eloquent\Model $model) : void 把约束加到 Eloquent 查询构造中 Parameters \Illuminate\Database\Eloquent\Builder $builder \Illuminate\Database\Eloquent\Model $model