$productList->values()
Returns a non-associative array with all values. If a mapping Closure is passed, all values are processed by the Closure.
$productList->values(null|Closure $map = null): array
Parameters
| Name | Type | Default |
|---|---|---|
$map |
null or Closure |
null |
Return type
array
Parent class
Wagnerwagner\Merx\ProductList inherited from Kirby\Toolkit\Collection