# Collapse

Collapses an array of arrays into a flat array. If duplicate keys exist they *will* get stomped over.

```yaml
numbers:
  - [one, two, three]
  - [four, five, six]
```

::tabs

::tab antlers
```antlers
{{ numbers | collapse }}
```
::tab blade
```blade
<?php
  $collapsed = Satamic::modify($numbers)->collapse()->fetch();
?>
```
::

```yaml
numbers:
  - one
  - two
  - three
  - four
  - five
  - six
```
