Laravel tip:

Don’t use `map()` when you are not transforming data.

If you only want to perform an action, use `each()`.

`map()` returns new values.

`each()` is for side effects.

Cleaner intent.
image

  • No matching results...
  • Searching...

/ 1000