1
0
mirror of synced 2024-12-14 23:26:04 +03:00
doctrine2/manual/docs/Basic Components - Collection - Key mapping.php

4 lines
222 B
PHP
Raw Normal View History

2006-09-02 01:56:55 +04:00
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.