$system->register()
Validates the license key and adds it to the .license file in the config folder if possible.
$system->register(?string $license = null, ?string $email = null): bool
Parameters
| Name | Type | Default |
|---|---|---|
| $license | string|null |
null |
string|null |
null |
Return type
bool
Exceptions
| Type | Description |
|---|---|
Kirby\Exception\Exception |
|
Kirby\Exception\InvalidArgumentException |