PHP Interface Learner\Repositories\SubscriberRepositoryInterface

Afficher le fichier Open project: RryLee/learner.video Interface Usage Examples

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.

Method Details

deleteByEmail() public méthode

Delele a subscriber by id.
public deleteByEmail ( string $email ) : boolean
$email string
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