Created
February 27, 2013 12:28
-
-
Save akanehara/5047584 to your computer and use it in GitHub Desktop.
Ginqのtoなんとか系整理案
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * toDictonary | |
| * 廃止 | |
| * @deprecated | |
| * @param \Closure $valueSelector | |
| * @param \Closure $keySelector | |
| * @param \Closure $combiner | |
| * @return array | |
| */ | |
| function toDictionary($valueSelector, $keySelector, $combiner = null) | |
| /** | |
| * toArray | |
| * キー衝突の解決だけでき、射影機能はもたない。射影は select で。 | |
| * @param \Closure $combiner | |
| * @return array | |
| */ | |
| function toArray($combiner = null) | |
| /** | |
| * toList | |
| * renum()->toArray() のショートカット | |
| * @return array | |
| */ | |
| function toList() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment