swoole-framwork/vendor/illuminate/database/Eloquent/Scope.php
2024-05-20 11:51:07 +08:00

16 lines
350 B
PHP

<?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);
}