doctrine/DoctrineModule — pull request #406 by bakura10 (2014-04-17 13:06:43+00:00)
Title: Fix context unique

Hi,

UniqueValidator had a "use_context" option that could be set to false, however it could not work because the "getExpectedIdentifiers" was set to typehint to array, hence resulting in a runtime error.

It now makes the "use_context" option usable, by allowing to fetch identifiers from the instance.

Please merge asap :).