$layouts->hasMethod()
Checks if the object has a registered method
$layouts->hasMethod(string $method): bool
Parameters
| Name | Type | Default |
|---|---|---|
| $method * | string |
– |
Return type
bool
Parent class
Kirby\Cms\Layouts inherited from Kirby\Cms\Collection