$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
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
| Name | Type | Default |
|---|---|---|
| $keyrequired | string |
no default value |
stringornull