PHP Class Learner\Repositories\Table\SubscriberRepository

Inheritance: extends AbstractTableRepository, implements Learner\Repositories\SubscriberRepositoryInterface
Afficher le fichier Open project: RryLee/learner.video

Protected Properties

Свойство Type Description
$tableName string Table name.

Méthodes publiques

Méthode 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.

Méthodes protégées

Méthode Description
exists ( integer $email ) : boolean Whether the email exists in db.

Method Details

deleteByEmail() public méthode

Delele a subscriber by id.
public deleteByEmail ( string $email ) : boolean
$email string
Résultat boolean

exists() protected méthode

Whether the email exists in db.
protected exists ( integer $email ) : boolean
$email integer
Résultat boolean

listEmailPaginated() public méthode

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

store() public méthode

Store the email.
public store ( string $email ) : boolean
$email string
Résultat boolean

Property Details

$tableName protected_oe property

Table name.
protected string $tableName
Résultat string