[ Index ]

PHP Cross Reference of phpBB-3.2.11-deutsch

title

Body

[close]

/vendor/symfony/console/ -> Shell.php (summary)

(no description)

File Size: 229 lines (7 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Shell:: (10 methods):
  __construct()
  run()
  getHeader()
  getPrompt()
  getOutput()
  getApplication()
  autocompleter()
  readline()
  getProcessIsolation()
  setProcessIsolation()


Class: Shell  - X-Ref

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)

__construct(Application $application)   X-Ref
If there is no readline support for the current PHP executable
a \RuntimeException exception is thrown.


run()   X-Ref
Runs the shell.


getHeader()   X-Ref
Returns the shell header.

return: string The header string

getPrompt()   X-Ref
Renders a prompt.

return: string The prompt

getOutput()   X-Ref
No description

getApplication()   X-Ref
No description

autocompleter($text)   X-Ref
Tries to return autocompletion for the current entered text.

param: string $text The last segment of the entered text
return: bool|array A list of guessed strings or true

readline()   X-Ref
Reads a single line from standard input.

return: string The single line from standard input

getProcessIsolation()   X-Ref
No description

setProcessIsolation($processIsolation)   X-Ref
No description



Generated: Wed Nov 11 20:33:01 2020 Cross-referenced by PHPXref 0.7.1