class Builder (View source)

Builder class.

Properties

string $prefix Command prefix.
string $options Command options.
string $arguments Command arguments.

Methods

string
__toString()

Returns $command as string.

object
setPrefix(string $prefix)

Set command line prefix.

object
setOptions(array $opts)

Set command line options

object
setArguments(array $args)

Set command line arguments

Details

string __toString()

Returns $command as string.

Return Value

string $command command line string

final object setPrefix(string $prefix)

Set command line prefix.

Parameters

string $prefix command line prefix

Return Value

object class object

final object setOptions(array $opts)

Set command line options

Parameters

array $opts command line options

Return Value

object class object

final object setArguments(array $args)

Set command line arguments

Parameters

array $args command line arguments

Return Value

object class object