Cleaned a bit the TableDrop command

This commit is contained in:
Kévin Gomez 2013-11-04 21:32:14 +00:00
commit 2b7cbeacfb
3 changed files with 56 additions and 47 deletions

View file

@ -11,6 +11,7 @@
namespace Propel\PropelBundle\Command;
use Propel\Runtime\Propel;
use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand;
use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Input\InputOption;
@ -19,8 +20,10 @@ use Symfony\Component\Console\Output\OutputInterface;
/**
* @author Kévin Gomez <contact@kevingomez.fr>
*/
class TableDropCommand extends AbstractCommand
class TableDropCommand extends ContainerAwareCommand
{
use FormattingHelpers;
/**
* {@inheritdoc}
*/
@ -110,20 +113,4 @@ class TableDropCommand extends AbstractCommand
), 'fg=white;bg=red');
}
}
/**
* {@inheritdoc}
*/
protected function createSubCommandInstance()
{
// useless for this command
}
/**
* {@inheritdoc}
*/
protected function getSubCommandArguments(InputInterface $input)
{
// useless for this command
}
}