Sha256: ffba20c0583d9dbde4b991dbb59d6f5b7d489cae994d431e0d3f350dbf7f9777
Contents?: true
Size: 768 Bytes
Versions: 24
Compression:
Stored size: 768 Bytes
Contents
<?php use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Output\OutputInterface; class FooCommand extends Command { public $input; public $output; protected function configure() { $this ->setName('foo:bar') ->setDescription('The foo:bar command') ->setAliases(array('afoobar')) ; } protected function interact(InputInterface $input, OutputInterface $output) { $output->writeln('interact called'); } protected function execute(InputInterface $input, OutputInterface $output) { $this->input = $input; $this->output = $output; $output->writeln('called'); } }
Version data entries
24 entries across 24 versions & 1 rubygems