ScopeInterface deprecated (Database\Eloquent)

ScopeInterface deprecated

interface ScopeInterface implements Scope (View source)

deprecated

since version 5.2. Use Illuminate\Database\Eloquent\Scope.

Methods

void apply(Builder $builder, Model $model)

Apply the scope to a given Eloquent query builder.

from Scope

Details

void apply(Builder $builder, Model $model)

Apply the scope to a given Eloquent query builder.

Parameters

Builder $builder
Model $model

Return Value

void

© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.3/Illuminate/Database/Eloquent/ScopeInterface.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部