Skip to content

Commit

Permalink
Merge pull request #97 from bobey/master
Browse files Browse the repository at this point in the history
Allow fixtures loading from a single file
  • Loading branch information
guilhermeblanco committed Nov 4, 2015
2 parents 7df2dd3 + 951956e commit e7b514c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Command/LoadDataFixturesDoctrineCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,8 @@ protected function execute(InputInterface $input, OutputInterface $output)
foreach ($paths as $path) {
if (is_dir($path)) {
$loader->loadFromDirectory($path);
} elseif (is_file($path)) {
$loader->loadFromFile($path);
}
}
$fixtures = $loader->getFixtures();
Expand Down

0 comments on commit e7b514c

Please sign in to comment.