Closed ebonhand09 closed 12 years ago
This patch injects Symfony's container into the fixture as per the behaviour expected from app/console doctrine:fixtures:load
app/console doctrine:fixtures:load
This allows more complex fixtures (e.g. those making use of FOSUserBundle or similar services) to be loaded individually (with autoload: false)
The code mimics the code found in Symfony/Bundle/FrameworkBundle/Controller/ControllerResolver.php (around line 79)
Symfony/Bundle/FrameworkBundle/Controller/ControllerResolver.php
Is this still applicable after commit 8f7dcd6e54?
I'll run some tests and get back to you shortly
Your commit 8f7dcd6 appears to have resolved the issue without requiring my match - thanks
Thanks.
This patch injects Symfony's container into the fixture as per the behaviour expected from
app/console doctrine:fixtures:load
This allows more complex fixtures (e.g. those making use of FOSUserBundle or similar services) to be loaded individually (with autoload: false)
The code mimics the code found in
Symfony/Bundle/FrameworkBundle/Controller/ControllerResolver.php
(around line 79)