Last active
February 16, 2016 23:42
-
-
Save alfrekjv/fd8e9da159fa8e0a2b35 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Application\Command; | |
use \Symfony\Component\Console\Command\Command; | |
use \Symfony\Component\Console\Input\InputArgument; | |
use \Symfony\Component\Console\Input\InputInterface; | |
use \Symfony\Component\Console\Input\InputOption; | |
use \Symfony\Component\Console\Output\OutputInterface; | |
class QueueCommand extends Command | |
{ | |
protected function configure() | |
{ | |
$this->setName('queue:post') | |
->setDescription('Posting due content from Queue.'); | |
} | |
protected function execute(InputInterface $input, OutputInterface $output) | |
{ | |
$output->writeln("Hello world"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment