DatabaseReminderRepository

DatabaseReminderRepository

class DatabaseReminderRepository implements ReminderRepositoryInterface (View source)

Methods

void __construct(Connection $connection, string $table, string $hashKey, int $expires = 60)

Create a new reminder repository instance.

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.

string createNewToken(RemindableInterface $user)

Create a new token for the user.

Connection getConnection()

Get the database connection instance.

doc_Laravel
2016-11-02 16:15:56
Comments
Leave a Comment

Please login to continue.