<?php

namespace App\Classes\Modules\Accounts\Services;


use App\Classes\General\Eloquent\AbstractFetchRecord;
use App\Models\PasswordReset;
use App\Models\UserEmailVerification;
use Illuminate\Database\Eloquent\Builder;

class FetchesEmailVerificationAttempt extends AbstractFetchRecord
{

    /** @var UserEmailVerification */
    private $repository;

    /**
     * FetchesResetPasswordToken constructor.
     * @param UserEmailVerification $repository
     */
    public function __construct(UserEmailVerification $repository)
    {
        $this->repository = $repository;
    }


    /**
     * @return Builder
     */
    public function getRepository(): Builder
    {
        return $this->repository->newQuery();
    }

}