PHP Interface Learner\Repositories\SubscriberRepositoryInterface

Mostrar archivo Open project: RryLee/learner.video Interface Usage Examples

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.

Method Details

deleteByEmail() public method

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