Examples of Collection Methods: Flatten (2)

Short information about flatten

The flatten method flattens a multi-dimensional collection into a single dimension.

Repository: orchidsoftware/platform (Github)
★ 3208 Created: Nov 2016 Updated: Aug 2022 Laravel version: 8
Files in the example:
- src/Screen/Actions/Menu.php
Repository: stefanzweifel/screeenly (Github)
★ 396 Created: Jul 2014 Updated: Mar 2022 Laravel version: 8
Files in the example:
- app/Exceptions/Handler.php