Added faker support

This commit is contained in:
William DURAND 2012-05-08 17:06:49 +02:00
commit ca45e9c5cf
6 changed files with 111 additions and 4 deletions

View file

@ -181,7 +181,7 @@ EOT
list($name, $defaultConfig) = $this->getConnection($input, $output);
if ('yml' === $type) {
$loader = new YamlDataLoader($this->getApplication()->getKernel()->getRootDir());
$loader = new YamlDataLoader($this->getApplication()->getKernel()->getRootDir(), $this->getContainer());
} elseif ('xml' === $type) {
$loader = new XmlDataLoader($this->getApplication()->getKernel()->getRootDir());
} else {