for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Console;
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
/**
* @author jan huang <[email protected]>
* @copyright 2016
*
* @see https://www.github.com/janhuang
* @see https://fastdlabs.com
*/
class Demo extends Command
{
public function configure()
$this->setName('demo');
}
public function execute(InputInterface $input, OutputInterface $output)
$output->writeln('hello world');