Laravel - Collections - Method Macro
The static macro
method allows you to add methods to the Collection
class at run time. Refer to the documentation on extending collections for more information.
The static macro
method allows you to add methods to the Collection
class at run time. Refer to the documentation on extending collections for more information.