TYPO3  7.6
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
HelpCommand Class Reference
Inheritance diagram for HelpCommand:
Command

Public Member Functions

 setCommand (Command $command)
 
- Public Member Functions inherited from Command
 __construct ($name=null)
 
 ignoreValidationErrors ()
 
 setApplication (Application $application=null)
 
 setHelperSet (HelperSet $helperSet)
 
 getHelperSet ()
 
 getApplication ()
 
 isEnabled ()
 
 run (InputInterface $input, OutputInterface $output)
 
 setCode ($code)
 
 mergeApplicationDefinition ($mergeArgs=true)
 
 setDefinition ($definition)
 
 getDefinition ()
 
 getNativeDefinition ()
 
 addArgument ($name, $mode=null, $description= '', $default=null)
 
 addOption ($name, $shortcut=null, $mode=null, $description= '', $default=null)
 
 setName ($name)
 
 setProcessTitle ($title)
 
 getName ()
 
 setDescription ($description)
 
 getDescription ()
 
 setHelp ($help)
 
 getHelp ()
 
 getProcessedHelp ()
 
 setAliases ($aliases)
 
 getAliases ()
 
 getSynopsis ($short=false)
 
 addUsage ($usage)
 
 getUsages ()
 
 getHelper ($name)
 
 asText ()
 
 asXml ($asDom=false)
 

Protected Member Functions

 configure ()
 
 execute (InputInterface $input, OutputInterface $output)
 
- Protected Member Functions inherited from Command
 configure ()
 
 execute (InputInterface $input, OutputInterface $output)
 
 interact (InputInterface $input, OutputInterface $output)
 
 initialize (InputInterface $input, OutputInterface $output)
 

Private Attributes

 $command
 

Detailed Description

HelpCommand displays the help for a given command.

Author
Fabien Potencier fabie.nosp@m.n@sy.nosp@m.mfony.nosp@m..com

Definition at line 25 of file HelpCommand.php.

Member Function Documentation

configure ( )
protected
execute ( InputInterface  $input,
OutputInterface  $output 
)
protected
setCommand ( Command  $command)

Sets the command.

Parameters
Command$commandThe command to set

Definition at line 65 of file HelpCommand.php.

References HelpCommand\$command.

Member Data Documentation

$command
private

Definition at line 27 of file HelpCommand.php.

Referenced by HelpCommand\setCommand().