Cleaned commands

This commit is contained in:
Kévin Gomez 2013-11-24 16:36:58 +00:00
commit 64ea15cd49
15 changed files with 101 additions and 170 deletions

View file

@ -60,7 +60,6 @@ EOT
protected function execute(InputInterface $input, OutputInterface $output)
{
$fixtureDir = $input->getOption('dir') ?: $this->defaultFixturesDir;
$path = realpath($this->getApplication()->getKernel()->getRootDir() . '/../') . '/' . $fixtureDir;
if (!file_exists($path)) {
@ -75,7 +74,6 @@ EOT
}
$filename = $path . '/fixtures_' . time() . '.yml';
$dumper = $this->getContainer()->get('propel.dumper.yaml');
try {
@ -93,20 +91,4 @@ EOT
return true;
}
/**
* {@inheritdoc}
*/
protected function createSubCommandInstance()
{
// useless here
}
/**
* {@inheritdoc}
*/
protected function getSubCommandArguments(InputInterface $input)
{
// useless here
}
}