This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
symfony/tests/Symfony/Tests/Bridge/Doctrine
Fabien Potencier 4c1cea7093 merged branch jmikola/doctrine-lazy-event-manager (PR #3434)
Commits
-------

71493a2 [DoctrineBridge] Compiler pass for registering event listeners/subscribers
f15dde6 [DoctrineBridge] ContainerAwareEventManager class

Discussion
----------

[DoctrineBridge] ContainerAwareEventManager class

```
Bug fix: no
Feature addition: yes
Backwards compatibility break: no
Symfony2 tests pass: yes
Fixes the following tickets: -
Todo: -
```

[![Build Status](https://secure.travis-ci.org/jmikola/symfony.png?branch=doctrine-lazy-event-manager)](http://travis-ci.org/jmikola/symfony)

This allows services to be registered (and lazily loaded) with Doctrine Common's EventManager.

It is ported from @schmittjoh's previous commits here: doctrine/DoctrineBundle#23. I'd like to integrate this with DoctrineMongoDBBundle, so the Bridge once again seemed like an ideal alternative to duplicating code.

---------------------------------------------------------------------------

by jmikola at 2012-02-23T20:37:51Z

Per conversation with @stof in doctrine/DoctrineBundle#23, I'm also going to integrate the compiler pass (an abstract version both bundles can use) into this PR.

---------------------------------------------------------------------------

by jmikola at 2012-02-23T21:56:47Z

Just realized there's an issue with the naming assumptions, since Doctrine ORM uses "doctrine" as its registry service ID but "doctrine.dbal" as its event manager prefix. Fixing.
2012-03-01 01:01:15 +01:00
..
DataCollector [DoctrineBridge] Refactored the query sanitization in the collector 2012-01-23 10:57:46 +01:00
DataFixtures [DoctrineBridge] Add tests for data fixture ContainerAwareLoader 2012-02-27 17:16:55 -05:00
DependencyInjection/CompilerPass [DoctrineBridge] Compiler pass for registering event listeners/subscribers 2012-02-23 17:50:43 -05:00
Fixtures [DoctrineBridge] Add tests for data fixture ContainerAwareLoader 2012-02-27 17:16:55 -05:00
Form [DoctrineBridge] fixed a unit test after the 2.0 merge 2012-02-04 08:08:27 +01:00
Security/User Fixed tests added from 2.0 2011-12-22 17:52:42 +01:00
Validator/Constraints merged 2.0 2011-11-08 08:38:14 +01:00
ContainerAwareEventManagerTest.php [DoctrineBridge] ContainerAwareEventManager class 2012-02-23 13:17:44 -05:00
DoctrineOrmTestCase.php fix for entity choice list when ->loaded is false and the class name is an entity shorthand name 2012-02-01 19:13:06 +01:00