interface ReminderRepositoryInterface (View source)

Methods

string
create( RemindableInterface $user)

Create a new reminder record and token.

bool
exists( RemindableInterface $user, string $token)

Determine if a reminder record exists and is valid.

void
delete( string $token)

Delete a reminder record by token.

void
deleteExpired()

Delete expired reminders.

Details

at line line 11
string create( RemindableInterface $user)

Create a new reminder record and token.

Parameters

RemindableInterface $user

Return Value

string

at line line 20
bool exists( RemindableInterface $user, string $token)

Determine if a reminder record exists and is valid.

Parameters

RemindableInterface $user
string $token

Return Value

bool

at line line 28
void delete( string $token)

Delete a reminder record by token.

Parameters

string $token

Return Value

void

at line line 35
void deleteExpired()

Delete expired reminders.

Return Value

void