Skip to content

[5.5] Document Collection::macro() method #3700

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed

[5.5] Document Collection::macro() method #3700

wants to merge 1 commit into from

Conversation

paulofreitas
Copy link
Contributor

Documentation for the Collection::macro() method introduced in laravel/framework#11019.

People often use the documentation as their main source of information and, because of that, they often doesn't make use of features that are not documented. This was undocumented since Laravel 5.1.25 and I think that it would improve the Laravel documentation even more.

Because creating and extending collections are a major topic I thought it was relevant to create their own section. I also included the macro() method in the available methods section so it would be complete and easier to memorize all of them.

@taylorotwell
Copy link
Member

Conflicts. I'm going to close all of these PRs because you're going to get conflicts. Send it all as a single PR.

@paulofreitas paulofreitas deleted the collections-macro branch October 1, 2017 23:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants