Skip to content

Kirby 4.9.6

$languages->getMethod()

Returns a registered method by name, either from the current class or from a parent class ordered by inheritance order (top to bottom)

$languages->getMethod(string $method): Closure|null

Parameters

Name Type Default
$method * string –

Return type

Closure|null

Parent class

Kirby\Cms\Languages inherited from Kirby\Cms\Collection