Shell

An interactive session between a consumer and a shell.

package

Default

Methods

__construct

__construct() 

Close the shell.

close() : void

Create a job, the created job should then be executed with the @see \io\vertx\jphp\ext\shell\system\Job::run method.

createJob( $arg0) : \io\vertx\jphp\ext\shell\system\Job

param $line [array] the command line creating this job createJob($line)

See @see \io\vertx\jphp\ext\shell\Shell::createJob

param $line [string] createJob($line)

Arguments

$arg0

string | array

Response

\io\vertx\jphp\ext\shell\system\Job

the created job

jobController

jobController() : \io\vertx\jphp\ext\shell\system\JobController

Response

\io\vertx\jphp\ext\shell\system\JobController

the shell's job controller

session

session() : \io\vertx\jphp\ext\shell\session\Session

Response

\io\vertx\jphp\ext\shell\session\Session

the current shell session

Set a new prompt in this session.

setPrompt( $arg0) : void

Arguments

$arg0

callable