$languages->callMethod()
Calls a registered method class with the passed arguments
$languages->callMethod(string $method, array $args = [ ]): mixed
Parameters
Name | Type | Default | Description |
---|---|---|---|
$method |
string |
– | |
$args |
array |
[ ] |
Return type
mixed
Exceptions
Type | Description |
---|---|
Kirby\Exception\BadMethodCallException |
Inherited from
Kirby\Cms\Collection