tickit-project/tickit — pull request #19 by jameshalsall (2013-09-23 19:43:29+00:00)
Title: [Work In Progress] Updating entity manager definitions to accept repository classes directly

This PR is a refactor of how the custom entity manager classes expect the repositories to be provided.

Previously, the doctrine registry was injected into the manager and then repositories were fetched from the registry inside the manager.

This was too restrictive as we wouldn't be able to easily mock repository classes later down the line when manager's needed testing in isolation.