$productList->append()
Appends an element
$productList->append(string|TValue ...$args): Kirby\Toolkit\Collection
Parameters
| Name | Type | Default |
|---|---|---|
...$args |
string or TValue |
- |
Return type
Description
$collection->append('key', $value);
$collection->append($value);
Parent class
Wagnerwagner\Merx\ProductList inherited from Kirby\Toolkit\Collection