doctrine/DoctrineFixturesBundle — pull request #43 by adurieux (2012-05-19 10:50:52+00:00)
Title: Drafted a doctrine:fixtures:generate command.

## Description:

Created a command that allows to output PHP code in the console to quickly build fixtures from an existing database.

Example use :
```
php app/console doctrine:fixtures:generate 'Acme\DemoBundle\Entity\Product' 1234 references
```

Outputs :
```
// Creating object :
$Product1234 = new Acme\DemoBundle\Entity\Product();

// Field mappings :
$Product1234->setName('My awesome product');

// Association mappings :
$Product1234->setCategory($em->getReference('Acme\DemoBundle\Entity\Category',376));
...
```

## PR information :

* **Side effects:** -
* **Bug fix:** no
* **Feature addition:** yes
* **Backwards compatibility break:** no
* **Bundle tests pass:** yes
* **Fixes the following tickets:** -
* **References the following tickets:** -
* **External references :** -