◆ __construct()
__construct |
( |
|
$user_id, |
|
|
|
$duration_validity = 30 |
|
) |
| |
◆ __toString()
◆ calculate_expiration_time()
calculate_expiration_time |
( |
|
$duration_validity = 30 | ) |
|
◆ generate()
static generate |
( |
|
$user_id, |
|
|
|
$duration_validity = 30 |
|
) |
| |
|
static |
◆ generate_token()
static generate_token |
( |
| ) |
|
|
static |
◆ get_string()
◆ get_token()
◆ is_valid()
static is_valid |
( |
|
$token | ) |
|
|
static |
◆ remove()
◆ remove_expired()
static remove_expired |
( |
| ) |
|
|
static |
◆ save()
◆ time_expired()
static time_expired |
( |
|
$expiration | ) |
|
|
static |
The documentation for this class was generated from the following file: