$productPage->getMethod()
Returns a registered method by name, either from the current class or from a parent class ordered by inheritance order (top to bottom)
$productPage->getMethod(string $method): null|Closure
Parameters
| Name | Type | Default |
|---|---|---|
$method |
string |
- |
Return type
null or Closure
Parent class
Wagnerwagner\Merx\ProductPage inherited from Kirby\Cms\Page