Sha256: 264ac079e9f77f3e15253d5d3d539ebed63c3163bf1462ec95c90e3b850e35b5
Contents?: true
Size: 693 Bytes
Versions: 18
Compression:
Stored size: 693 Bytes
Contents
<?php use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Output\OutputInterface; class TestCommand extends Command { protected function configure() { $this ->setName('namespace:name') ->setAliases(['name']) ->setDescription('description') ->setHelp('help') ; } protected function execute(InputInterface $input, OutputInterface $output) { $output->writeln('execute called'); } protected function interact(InputInterface $input, OutputInterface $output) { $output->writeln('interact called'); } }
Version data entries
18 entries across 18 versions & 1 rubygems