# $cart->__call()

> Magic getter function

- Source: `src/Toolkit/Collection.php#L65` <https://github.com/getkirby/kirby/blob/6.0.0-beta.1/src/Toolkit/Collection.php#L65>
- Inherited from Kirby, not part of the Merx API. See <https://getkirby.com/docs/reference>.

```php
$cart->__call(string $key, $arguments): TValue|null
```

## Parameters

| Name | Type | Default |
| --- | --- | --- |
| `$key` | `string` | `–` |
| `$arguments` | `–` | `–` |

## Return type

`TValue|null`

## Parent class

`Wagnerwagner\Merx\Cart` inherited from `Kirby\Toolkit\Collection`
