Skip to content

Kirby 5.2.0

LicenseType::detect()

Detects the correct LicenseType based on the code

LicenseType::detect(string|null $code): Kirby\Cms\LicenseType

Parameters

Name Type Default
$code stringornull no default value

Return type

Kirby\Cms\LicenseType

Parent class

Kirby\Cms\LicenseType