DatabaseServiceProvider

DatabaseServiceProvider class DatabaseServiceProvider extends ServiceProvider (View source) Methods void __construct(Application $app) Create a new service provider instance. from ServiceProvider void register() Register the service provider. static array pathsToPublish(string $provider = null, string $group = null) Get the paths to publish. from ServiceProvider void commands(array|mixed $commands) Register the package's custom Artisan commands. from ServiceProvider array

DatabaseReminderRepository::__construct()

void __construct(Connection $connection, string $table, string $hashKey, int $expires = 60) Create a new reminder repository instance. Parameters Connection $connection string $table string $hashKey int $expires Return Value void

DatabaseReminderRepository::getConnection()

Connection getConnection() Get the database connection instance. Return Value Connection

DatabaseReminderRepository::exists()

bool exists(RemindableInterface $user, string $token) Determine if a reminder record exists and is valid. Parameters RemindableInterface $user string $token Return Value bool

DatabaseReminderRepository::deleteExpired()

void deleteExpired() Delete expired reminders. Return Value void

DatabaseReminderRepository::delete()

void delete(string $token) Delete a reminder record by token. Parameters string $token Return Value void

DatabaseReminderRepository::createNewToken()

string createNewToken(RemindableInterface $user) Create a new token for the user. Parameters RemindableInterface $user Return Value string

DatabaseReminderRepository::create()

string create(RemindableInterface $user) Create a new reminder record and token. Parameters RemindableInterface $user Return Value string

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

DatabaseQueue::__construct()

void __construct(Connection $database, string $table, string $default = 'default', int $expire = 60) Create a new database queue instance. Parameters Connection $database string $table string $default int $expire Return Value void