Skip to content

Kirby 5.2.0

$constructor->getAttributes()

$constructor->getAttributes(string|null $name = null, int $flags = 0): array

Parameters

Name Type Default
$name stringornull null
$flags int 0

Return type

array

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

Parent class

Kirby\Reflection\Constructor inherited from ReflectionFunctionAbstract