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

Inheritance: extends AbstractArgsNode
Afficher le fichier Open project: appserver-io/appserver

Protected Properties

Свойство Type Description
$directory string The directory to execute the script from.
$script string The script to be executed.

Méthodes publiques

Méthode 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 méthode

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

getDirectory() public méthode

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

getScript() public méthode

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

setDirectory() public méthode

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

setScript() public méthode

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

Property Details

$directory protected_oe property

The directory to execute the script from.
protected string $directory
Résultat string

$script protected_oe property

The script to be executed.
protected string $script
Résultat string