for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace LuisMulinari\Consoleful\fixtures;
use Lcobucci\DependencyInjection\ContainerInjector;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
use Symfony\Component\Console\Command\Command;
use Symfony\Component\DependencyInjection\ContainerAwareInterface;
/**
* Class ContainerAwareCommandTest
*
* @author Luis Henrique Mulinari <[email protected]>
*/
class ContainerAwareCommandTest extends Command implements ContainerAwareInterface
{
use ContainerInjector;
protected function configure()
$this->setName('command:test2')->setDescription('description2');
}
protected function execute(InputInterface $input, OutputInterface $output)
$output->writeln('command2');