Skip to content

$translations->callMethod()

Calls a registered method class with the passed arguments

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

Parameters

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

Return type

mixed

Exceptions

Parent class

Kirby\Cms\Translations inherited from Kirby\Cms\Collection