xi-project/xi-doctrine — pull request #6 by panunu (2012-05-15 06:06:32+00:00)
Title: An improved error message when trying to get an undefined Fixture from FixtureFactory.

Calling ```$fixtureFactory->get('Undefined\In\FixtureFactory')``` will trigger something like "ErrorException: Notice: Undefined index: ExampleBundle\Entity\Example in .../trunk/source/vendor/xi-doctrine/library/Xi/Doctrine/Fixtures/FixtureFactory.php line 83".

This is a bit cryptic and has resulted in some WTFs.

This minor improvement would throw an Error with the following message: "Exception: Fixture 'ExampleBundle\Entity\Example' is undefined. Define it before calling get()".

Tests: pass.