doctrine/DoctrineFixturesBundle — Issue #31: Fixture Dependency
Author: dantleech
Created: 2012-02-03 14:21:54+00:00
State: open

Instead of using getOrder(), can we not declare which fixture classes the current class depends on?

```php
public function load($manager)
{
$ob = new Object;
$ob->setBar($manager->merge($this->getReference('FooBarBundle::bar-1')));
$ob->setFoo($manager->merge($this->getReference('BarFooBundle::foo-1')));
}

public function getDependencies()
{
return array(
'Foo\BarBundle\Fixtures\LoadBarFixtures',
'Bar\FooBundle\Fixtures\LoadFooFixtures',
);
}
```