TYPO3  7.6
DescriptorCommand2.php
Go to the documentation of this file.
1 <?php
2 
3 /*
4  * This file is part of the Symfony package.
5  *
6  * (c) Fabien Potencier <fabien@symfony.com>
7  *
8  * For the full copyright and license information, please view the LICENSE
9  * file that was distributed with this source code.
10  */
11 
12 namespace Symfony\Component\Console\Tests\Fixtures;
13 
17 
19 {
20  protected function configure()
21  {
22  $this
23  ->setName('descriptor:command2')
24  ->setDescription('command 2 description')
25  ->setHelp('command 2 help')
26  ->addUsage('-o|--option_name <argument_name>')
27  ->addUsage('<argument_name>')
28  ->addArgument('argument_name', InputArgument::REQUIRED)
29  ->addOption('option_name', 'o', InputOption::VALUE_NONE)
30  ;
31  }
32 }