Added faker support
This commit is contained in:
parent
6a648ed7e9
commit
ca45e9c5cf
6 changed files with 111 additions and 4 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue