Populator
class Populator
Service class for populating a database using the Doctrine ORM or ODM.
A Populator can populate several tables using ActiveRecord classes.
Methods
addEntity($entity, $number, $customColumnFormatters = array(), $customModifiers = array(), $generateId = false)
Add an order for the generation of $number records for $entity.
array
execute(
null|EntityManager $entityManager = null)
Populate the database using all the Entity classes previously added.