HighSpeaker/vendor/illuminate/database/Eloquent/Scope.php

16 lines
350 B
PHP
Raw Permalink Normal View History

2024-02-05 00:00:23 +08:00
<?php
namespace Illuminate\Database\Eloquent;
interface Scope
{
/**
* Apply the scope to a given Eloquent query builder.
*
* @param \Illuminate\Database\Eloquent\Builder $builder
* @param \Illuminate\Database\Eloquent\Model $model
* @return void
*/
public function apply(Builder $builder, Model $model);
}