class Shell

deprecated since version 2.8, to be removed in 3.0.

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)

Methods

__construct(Application $application)

Constructor.

run()

Runs the shell.

getProcessIsolation()

No description

setProcessIsolation($processIsolation)

No description

Details

at line line 47
__construct(Application $application)

Constructor.

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

Parameters

Application $application An application instance

at line line 60
run()

Runs the shell.

at line line 220
getProcessIsolation()

at line line 225
setProcessIsolation($processIsolation)

Parameters

$processIsolation