# $productList->__debugInfo()

> Improve var_dump() output

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

```php
$productList->__debugInfo(): array
```

## Return type

`array`

## Parent class

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