Overview

Namespaces

  • Contrib
    • Bundle
      • CoverallsBundle
        • Console
        • Entity
      • CoverallsV1Bundle
        • Api
        • Collector
        • Command
        • Config
        • Entity
          • Git
    • Component
      • File
      • Log
      • System
        • Git
  • Guzzle
    • Batch
      • Exception
    • Cache
    • Common
      • Exception
    • Http
      • Curl
      • Exception
      • Message
      • QueryAggregator
    • Inflection
    • Iterator
    • Log
    • Parser
      • Cookie
      • Message
      • UriTemplate
      • Url
    • Plugin
      • Async
      • Backoff
      • Cache
      • Cookie
        • CookieJar
        • Exception
      • CurlAuth
      • ErrorResponse
        • Exception
      • History
      • Log
      • Md5
      • Mock
      • Oauth
    • Service
      • Builder
      • Command
        • Factory
        • LocationVisitor
          • Request
          • Response
      • Description
      • Exception
      • Resource
    • Stream
  • PHP
  • Psr
    • Log
  • Symfony
    • Component
      • Config
        • Definition
          • Builder
          • Exception
        • Exception
        • Loader
        • Resource
        • Util
      • Console
        • Command
        • Formatter
        • Helper
        • Input
        • Output
        • Tester
      • EventDispatcher
        • Debug
      • Finder
        • Adapter
        • Comparator
        • Exception
        • Expression
        • Iterator
        • Shell
      • Stopwatch
      • Yaml
        • Exception

Classes

  • Command
  • HelpCommand
  • ListCommand
  • Overview
  • Namespace
  • Class
  • Tree
  • Todo

Class HelpCommand

HelpCommand displays the help for a given command.

Symfony\Component\Console\Command\Command
Extended by Symfony\Component\Console\Command\HelpCommand
Namespace: Symfony\Component\Console\Command
Author: Fabien Potencier <fabien@symfony.com>
Located at console/Symfony/Component/Console/Command/HelpCommand.php
Methods summary
protected
# configure( )

Configures the current command.

Configures the current command.

Overrides

Symfony\Component\Console\Command\Command::configure()
public
# setCommand( Symfony\Component\Console\Command\Command $command )

Sets the command

Sets the command

Parameters

$command
Symfony\Component\Console\Command\Command
$command The command to set
protected null|integer
# execute( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )

Executes the current command.

Executes the current command.

Parameters

$input
Symfony\Component\Console\Input\InputInterface
$input An InputInterface instance
$output
Symfony\Component\Console\Output\OutputInterface
$output An OutputInterface instance

Returns

null|integer
null or 0 if everything went fine, or an error code

Throws

LogicException
When this abstract method is not implemented

Overrides

Symfony\Component\Console\Command\Command::execute()
Methods inherited from Symfony\Component\Console\Command\Command
__construct(), addArgument(), addOption(), asText(), asXml(), getAliases(), getApplication(), getDefinition(), getDescription(), getHelp(), getHelper(), getHelperSet(), getName(), getNativeDefinition(), getProcessedHelp(), getSynopsis(), ignoreValidationErrors(), initialize(), interact(), isEnabled(), run(), setAliases(), setApplication(), setCode(), setDefinition(), setDescription(), setHelp(), setHelperSet(), setName()
php-coveralls API documentation generated by ApiGen 2.8.0