Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
DeployCommand.php
Go to the documentation of this file.
1 <?php
2 
4 
5 use N98\Magento\Command\AbstractMagentoCommand;
6 use Symfony\Component\Console\Input\InputInterface;
7 use Symfony\Component\Console\Output\OutputInterface;
8 
9 class DeployCommand extends AbstractMagentoCommand
10 {
11  protected function configure()
12  {
13  $this
14  ->setName('composer:magento:deploy')
15  ->setDescription('Test command registered in a module')
16  ;
17  }
18 
24  protected function execute(InputInterface $input, OutputInterface $output)
25  {
26 
27  $output->writeln('it works, maybe');
28  }
29 }
execute(InputInterface $input, OutputInterface $output)