Examples of Collection Methods: Pipe (1)

Short information about pipe

The pipe method passes the collection to the given closure and returns the result of the executed closure.
Read more in the official Laravel docs.

Repository: spatie/dashboard.spatie.be (Github)
★ 1919 Created: Jun 2017 Updated: May 2022 Laravel version: 8
Files in the example:
- app/Tiles/Statistics/Commands/FetchPackagistTotalsCommand.php