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