$productList->get()
Getter
$productList->get(string $key, $default = null): TValue|TDefault|null
Parameters
| Name | Type | Default |
|---|---|---|
$key |
string |
- |
$default |
mixed |
null |
Return type
TValue or TDefault or null
Parent class
Wagnerwagner\Merx\ProductList inherited from Kirby\Toolkit\Collection