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

string create(RemindableInterface $user)

Create a new reminder record and token.

Parameters

RemindableInterface $user

Return Value

string

bool exists(RemindableInterface $user, string $token)

Determine if a reminder record exists and is valid.

Parameters

RemindableInterface $user
string $token

Return Value

bool

void delete(string $token)

Delete a reminder record by token.

Parameters

string $token

Return Value

void

void deleteExpired()

Delete expired reminders.

Return Value

void