Skip to content

Kirby 5.2.0

$constructor->getAcceptedArguments()

Returns all arguments that are defined as constructor parameters

$constructor->getAcceptedArguments(array $arguments): array

Parameters

Name Type Default
$argumentsrequired array no default value

Return type

array

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

Parent class

Kirby\Reflection\Constructor