1
0
mirror of synced 2024-12-15 07:36:03 +03:00
doctrine2/manual/docs/Basic Components - Collection - Key mapping.php
2006-09-01 21:56:55 +00:00

4 lines
222 B
PHP

Sometimes you may not want to use normal indexing for collection elements. For example in
some cases mapping primary keys as collection keys might be useful. The following example
demonstrates how this can be achieved.