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)
★ 2302 Created: Nov 2016 Updated: Aug 2021 Laravel version: 8
Files in the example:
- src/Screen/Actions/Menu.php
Repository: stefanzweifel/screeenly (Github)
★ 354 Created: Jul 2014 Updated: Jun 2021 Laravel version: 8
Files in the example:
- app/Exceptions/Handler.php