PHP Class Learner\Repositories\Table\SubscriberRepository

Inheritance: extends AbstractTableRepository, implements Learner\Repositories\SubscriberRepositoryInterface
Datei anzeigen Open project: RryLee/learner.video

Protected Properties

Property Type Description
$tableName string Table name.

Public Methods

Method Description
deleteByEmail ( string $email ) : boolean Delele a subscriber by id.
listEmailPaginated ( integer $perPage = 50 ) : Illuminate\Database\Eloquent\Collection Find all email.
store ( string $email ) : boolean Store the email.

Protected Methods

Method Description
exists ( integer $email ) : boolean Whether the email exists in db.

Method Details

deleteByEmail() public method

Delele a subscriber by id.
public deleteByEmail ( string $email ) : boolean
$email string
return boolean

exists() protected method

Whether the email exists in db.
protected exists ( integer $email ) : boolean
$email integer
return boolean

listEmailPaginated() public method

Find all email.
public listEmailPaginated ( integer $perPage = 50 ) : Illuminate\Database\Eloquent\Collection
$perPage integer
return Illuminate\Database\Eloquent\Collection

store() public method

Store the email.
public store ( string $email ) : boolean
$email string
return boolean

Property Details

$tableName protected_oe property

Table name.
protected string $tableName
return string