PHP Class AppserverIo\Appserver\Core\Api\Node\ExecuteNode

Inheritance: extends AbstractArgsNode
Show file Open project: appserver-io/appserver

Protected Properties

Property Type Description
$directory string The directory to execute the script from.
$script string The script to be executed.

Public Methods

Method Description
__toString ( ) : string Prepares the command to be excuted based on the script and the arguments.
getDirectory ( ) : string Return's the directory to execute the script from.
getScript ( ) : string Return's the script to be executed.
setDirectory ( string $directory ) : void Set's the directory to execute the script from.
setScript ( string $script ) : void Set's the script to be executed.

Method Details

__toString() public method

Prepares the command to be excuted based on the script and the arguments.
public __toString ( ) : string
return string The command to execute

getDirectory() public method

Return's the directory to execute the script from.
public getDirectory ( ) : string
return string The directory

getScript() public method

Return's the script to be executed.
public getScript ( ) : string
return string The script

setDirectory() public method

Set's the directory to execute the script from.
public setDirectory ( string $directory ) : void
$directory string The directory
return void

setScript() public method

Set's the script to be executed.
public setScript ( string $script ) : void
$script string The script
return void

Property Details

$directory protected property

The directory to execute the script from.
protected string $directory
return string

$script protected property

The script to be executed.
protected string $script
return string