PHP Class N98\Util\Exec

Afficher le fichier Open project: netz98/n98-magerun Class Usage Examples

Méthodes publiques

Méthode Description
allowed ( ) : boolean Exec class is allowed to run
run ( string $command, string &$output = null, integer &$returnCode = null )

Private Methods

Méthode Description
parseCommandOutput ( array $commandOutput ) : string string from array of strings representing one line per entry

Method Details

allowed() public static méthode

Exec class is allowed to run
public static allowed ( ) : boolean
Résultat boolean

run() public static méthode

public static run ( string $command, string &$output = null, integer &$returnCode = null )
$command string
$output string
$returnCode integer