menu 8 Menu Overview $file->hasMethod() Checks if the object has a registered method $file->hasMethod(string $method): bool Parameters Name Type Default Description $method string – Return type bool Source code kirby/src/Cms/HasMethods.php#L53