Skip to content

Kirby 4.2.0

LicenseType::detect()

Detects the correct LicenseType based on the code

LicenseType::detect(?string $code): Kirby\Cms\LicenseType

Parameters

Name Type Default
$code * string|null

Return type

Kirby\Cms\LicenseType

Parent class

Kirby\Cms\LicenseType