PHP Class PhpBrew\CommandBuilder

显示文件 Open project: phpbrew/phpbrew Class Usage Examples

Public Properties

Property Type Description
$append
$args * arguments
$logPath
$nice * process nice value
$script * script
$stderr
$stdout

Public Methods

Method Description
__construct ( $script )
__toString ( )
addArg ( $arg )
arg ( $arg )
args ( $args )
buildCommand ( $handleRedirect = true )
execute ( &$lastline = null )
nice ( $nice )
passthru ( &$lastline = null )
setAppendLog ( $append = true )
setLogPath ( $logPath )
setStdout ( $stdout = true )

Method Details

__construct() public method

public __construct ( $script )

__toString() public method

public __toString ( )

addArg() public method

public addArg ( $arg )

arg() public method

public arg ( $arg )

args() public method

public args ( $args )

buildCommand() public method

public buildCommand ( $handleRedirect = true )

execute() public method

public execute ( &$lastline = null )

nice() public method

public nice ( $nice )

passthru() public method

public passthru ( &$lastline = null )

setAppendLog() public method

public setAppendLog ( $append = true )

setLogPath() public method

public setLogPath ( $logPath )

setStdout() public method

public setStdout ( $stdout = true )

Property Details

$append public_oe property

public $append

$args public_oe property

* arguments
public $args

$logPath public_oe property

public $logPath

$nice public_oe property

* process nice value
public $nice

$script public_oe property

* script
public $script

$stderr public_oe property

public $stderr

$stdout public_oe property

public $stdout