$licenseType->isValidCode()
Checks for a valid license code by prefix and length. This is just a rough validation.
$licenseType->isValidCode(string|null $code): bool
Parameters
| Name | Type | Default |
|---|---|---|
| $code | stringornull |
no default value |
Return type
bool
This method modifies the existing $licensetype object it is applied to and returns it again.