Skip to content

Kirby 3.8.4

$options->callMethod()

Calls a registered method class with the passed arguments

$options->callMethod(string $method, array $args = [ ]): mixed

Parameters

Name Type Default
$method * string
$args array [ ]

Return type

mixed

Exceptions

Parent class

Kirby\Option\Options inherited from Kirby\Cms\Collection