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