Skip to content

Kirby 3.5.7.1

$hasmethods->callMethod()

Calls a registered method class with the passed arguments

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

Parameters

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

Return type

mixed

Exceptions

Parent class

Kirby\Cms\HasMethods