Skip to content

Kirby 6.0.0

$props->name()

Returns the name of the prop for the given name or alias, or null if there is no such prop

$props->name(string $key): string|null

Parameters

Name Type Default
$keyrequired string no default value

Return types

stringornull

Parent class

Kirby\Reflection\Props