With the release of laravel v11.12.0. We have a new method called multiply
contributed by patrickomeara.
It does exactly what it sounds like, it multiplies the collection data with the provided number.
Return without Multiply
Return With Multiply
It's a great way to get data for testing purposes.
You can see a complete list of release points here.