TYPO3
7.6
Users
bogdan
Projects
Kapeli
Resources
Dash
Docsets
TYPO3
src
vendor
symfony
console
Tests
Fixtures
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
14
use
Symfony\Component\Console\Command\Command
;
15
use
Symfony\Component\Console\Input\InputArgument
;
16
use
Symfony\Component\Console\Input\InputOption
;
17
18
class
DescriptorCommand2
extends
Command
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
}
Generated on Wed Nov 11 2015 01:51:54 for TYPO3 by
1.8.3