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

store() public method

Store the email.
public store ( string $email ) : boolean
$email string
return boolean
    public function store($email)
    {
        if ($this->exists($email)) {
            return false;
        }
        $this->table->insert(['email' => $email]);
        return true;
    }