Status
Status.php
:
14
Final
Methods¶
getDaysLeftInGracePeriod()
¶
Status.php
:
48
Returns the number of days left in the grace period.
|
|
|
Returns null if ToS is accepted (not in grace period). Returns 0 if deadline has passed (no days left). Returns positive number if within grace period.
Return values
int|null
Attributes
- #[Ignore]
getTos()
¶
Status.php
:
72
|
|
|
Return values
array{accepted: array{version: string, acceptedAt: string}, current: array{version: string, acceptanceDeadline: string}}
isAccepted()
¶
Status.php
:
24
|
|
|
Return values
bool
Attributes
- #[Ignore]
isInGracePeriod()
¶
Status.php
:
30
|
|
|
Return values
bool
Attributes
- #[Ignore]
setTos()
¶
Status.php
:
92
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $tos | array{accepted: array{version: string, acceptedAt: string}, current: array{version: string, acceptanceDeadline: string}} | - | - |