Skip to content
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

Translate eloquent-collections #308

Merged
merged 3 commits into from
Jan 5, 2016
Merged

Translate eloquent-collections #308

merged 3 commits into from
Jan 5, 2016

Conversation

neighborhood999
Copy link
Member

@neighborhood999 neighborhood999 mentioned this pull request Dec 24, 2015
54 tasks
@@ -17,7 +17,7 @@ Of course, all collections also serve as iterators, allowing you to loop over th
echo $user->name;
}

However, collections are much more powerful than arrays and expose a variety of map / reduce operations that may be chained using an intuitive interface. For example, let's remove all inactive models and gather the first name for each remaining user:
然而,集合比陣列更強大的地方是使用各種 map / reduce 直觀的操作。例如,讓我們移除所有閒置的模型和收集其餘每個使用者的名字:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

各種 map 或 reduce 直觀的鏈結操作。例如,讓我們移除所有未啟用的模型並收集其餘每個使用者的名字:

@neighborhood999
Copy link
Member Author

已修正。

chentsulin added a commit that referenced this pull request Jan 5, 2016
@chentsulin chentsulin merged commit becce46 into laravel-taiwan:5.2 Jan 5, 2016
@neighborhood999 neighborhood999 deleted the translate-eloquent-collections branch January 8, 2016 03:56
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.

3 participants