Skip to content

Kirby 5.0.4

$license->code()

Returns the license code if available

$license->code(bool $obfuscated = false): string|null

Parameters

Name Type Default
$obfuscated bool false

Return types

stringornull

This method modifies the existing $license object it is applied to and returns it again.

Parent class

Kirby\Cms\License