Learner\Repositories\Table\SubscriberRepository::exists PHP Method

exists() protected method

Whether the email exists in db.
protected exists ( integer $email ) : boolean
$email integer
return boolean
    protected function exists($email)
    {
        return $this->table->whereEmail($email)->count() !== 0;
    }