Eloquent::scopes PHP Method

scopes() public static method

Add the given scopes to the current builder instance.
public static scopes ( array $scopes ) : mixed
$scopes array
return mixed
        public static function scopes($scopes)
        {
            return \Illuminate\Database\Eloquent\Builder::scopes($scopes);
        }
Eloquent