App\Repositories\Criteria\User\UserWhereEmailEquals::apply PHP Méthode

apply() public méthode

public apply ( $model, Bosnadev\Repositories\Contracts\RepositoryInterface $repository ) : mixed
$model
$repository Bosnadev\Repositories\Contracts\RepositoryInterface
Résultat mixed
    public function apply($model, Repository $repository)
    {
        $model = $model->where('email', '=', $this->str);
        return $model;
    }
UserWhereEmailEquals