<?php

namespace Licenzo\Framework\Database\Eloquent;

interface Scope
{
    /**
     * Apply the scope to a given Eloquent query builder.
     *
     * @param  \Licenzo\Framework\Database\Eloquent\Builder  $builder
     * @param  \Licenzo\Framework\Database\Eloquent\Model  $model
     * @return void
     */
    public function apply(Builder $builder, Model $model);
}
