TYPO3
7.6
Users
bogdan
Projects
Kapeli
Resources
Dash
Docsets
TYPO3
src
vendor
symfony
console
Tests
Fixtures
TestCommand.php
Go to the documentation of this file.
1
<?php
2
3
use
Symfony\Component\Console\Command\Command
;
4
use
Symfony\Component\Console\Input\InputInterface
;
5
use
Symfony\Component\Console\Output\OutputInterface
;
6
7
class
TestCommand
extends
Command
8
{
9
protected
function
configure
()
10
{
11
$this
12
->setName(
'namespace:name'
)
13
->setAliases(array(
'name'
))
14
->setDescription(
'description'
)
15
->setHelp(
'help'
)
16
;
17
}
18
19
protected
function
execute
(
InputInterface
$input,
OutputInterface
$output)
20
{
21
$output->
writeln
(
'execute called'
);
22
}
23
24
protected
function
interact
(
InputInterface
$input,
OutputInterface
$output)
25
{
26
$output->
writeln
(
'interact called'
);
27
}
28
}
Generated on Wed Nov 11 2015 01:52:06 for TYPO3 by
1.8.3