Foo2Command.php 488 B

12345678910111213141516171819202122
  1. <?php
  2. use Symfony\Component\Console\Command\Command;
  3. use Symfony\Component\Console\Input\InputInterface;
  4. use Symfony\Component\Console\Output\OutputInterface;
  5. class Foo2Command extends Command
  6. {
  7. protected function configure()
  8. {
  9. $this
  10. ->setName('foo1:bar')
  11. ->setDescription('The foo1:bar command')
  12. ->setAliases(['afoobar2'])
  13. ;
  14. }
  15. protected function execute(InputInterface $input, OutputInterface $output)
  16. {
  17. }
  18. }