Sha256: 8c9ade4e06bda8f17a0e0d9390a791e5e77f0fd648f33d0dff5db4a748f28e42
Contents?: true
Size: 763 Bytes
Versions: 18
Compression:
Stored size: 763 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(['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
18 entries across 18 versions & 1 rubygems