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