class DatabaseReminderRepository implements ReminderRepositoryInterface (View source)
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. |
Create a new reminder repository instance.
Create a new reminder record and token.
Determine if a reminder record exists and is valid.
Delete a reminder record by token.
Delete expired reminders.
Create a new token for the user.
Get the database connection instance.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.4/Illuminate/Auth/Reminders/DatabaseReminderRepository.html