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

  • Application
  • Shell
  • Overview
  • Namespace
  • Class
  • Tree
  • Todo

Class Shell

A Shell wraps an Application to add shell capabilities to it.

Support for history and completion only works with a PHP compiled with readline support (either --with-readline or --with-libedit)

Namespace: Symfony\Component\Console
Author: Fabien Potencier <fabien@symfony.com>
Author: Martin HasoĊˆ <martin.hason@gmail.com>
Located at console/Symfony/Component/Console/Shell.php
Methods summary
public
# __construct( Symfony\Component\Console\Application $application )

Constructor.

Constructor.

If there is no readline support for the current PHP executable a \RuntimeException exception is thrown.

Parameters

$application
Symfony\Component\Console\Application
$application An application instance
public
# run( )

Runs the shell.

Runs the shell.

protected string
# getHeader( )

Returns the shell header.

Returns the shell header.

Returns

string
The header string
public
# getProcessIsolation( )
public
# setProcessIsolation( mixed $processIsolation )
php-coveralls API documentation generated by ApiGen 2.8.0