$cart->join()
Joins the collection elements into a string, optionally using a Closure to transform the elements
$cart->join(string $separator = ', ', null|Closure $as = null): string
Parameters
| Name | Type | Default |
|---|---|---|
$separator |
string |
', ' |
$as |
null or Closure |
null |
Return type
string
Parent class
Wagnerwagner\Merx\Cart inherited from Kirby\Toolkit\Collection