PHP 클래스 Learner\Repositories\Table\SubscriberRepository

상속: extends AbstractTableRepository, implements Learner\Repositories\SubscriberRepositoryInterface
파일 보기 프로젝트 열기: RryLee/learner.video

보호된 프로퍼티들

프로퍼티 타입 설명
$tableName string Table name.

공개 메소드들

메소드 설명
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.

보호된 메소드들

메소드 설명
exists ( integer $email ) : boolean Whether the email exists in db.

메소드 상세

deleteByEmail() 공개 메소드

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

exists() 보호된 메소드

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

listEmailPaginated() 공개 메소드

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

store() 공개 메소드

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

프로퍼티 상세

$tableName 보호되어 있는 프로퍼티

Table name.
protected string $tableName
리턴 string