TestToto.php 525B

1234567891011121314151617181920212223
  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 TestToto extends Command
  6. {
  7. protected function configure()
  8. {
  9. $this
  10. ->setName('test-toto')
  11. ->setDescription('The test-toto command')
  12. ->setAliases(array('test'))
  13. ;
  14. }
  15. protected function execute(InputInterface $input, OutputInterface $output)
  16. {
  17. $output->write('test-toto');
  18. }
  19. }