質問編集履歴
1
非公式日本語ドキュメントのリンクを追加
title
CHANGED
File without changes
|
body
CHANGED
@@ -1,7 +1,11 @@
|
|
1
1
|
Laravel の `pluck()` メソッドの仕様について学ぼうと思い公式ドキュメントを参照したのですが、サンプルコードの結果が理解できません。
|
2
2
|
|
3
|
+
公式ドキュメント
|
3
4
|
[https://laravel.com/docs/5.4/collections#method-pluck](https://laravel.com/docs/5.4/collections#method-pluck)
|
4
5
|
|
6
|
+
非公式日本語ドキュメント
|
7
|
+
[https://readouble.com/laravel/5.4/ja/collections.html#method-pluck](https://readouble.com/laravel/5.4/ja/collections.html#method-pluck)
|
8
|
+
|
5
9
|
`pluck()`
|
6
10
|
|
7
11
|
The pluck method retrieves all of the values for a given key:
|