Symfony2 API
Class

Symfony\Component\Console\Shell

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)

Methods

__construct(Application $application)

Constructor.

run()

Runs the shell.

getProcessIsolation()

setProcessIsolation($processIsolation)

Details

at line 45
public __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 57
public run()

Runs the shell.

at line 217
public getProcessIsolation()

at line 222
public setProcessIsolation($processIsolation)

Parameters

$processIsolation