PHP Class SH\Sh

Afficher le fichier Open project: gonzalo123/sh Class Usage Examples

Méthodes publiques

Méthode Description
__call ( $name, $arguments )
__construct ( integer | null $timeout = self::DEFAULT_TIMEOUT )
factory ( $timeout = self::DEFAULT_TIMEOUT )
getTimeout ( )
runCommand ( string $name, null | string | array $comandArgument = null, null | Callable $lineCallback = null ) : null | string
setTimeout ( $timeout )

Private Methods

Méthode Description
getCommandToProcess ( $name, $comandArgument )

Method Details

__call() public méthode

public __call ( $name, $arguments )

__construct() public méthode

public __construct ( integer | null $timeout = self::DEFAULT_TIMEOUT )
$timeout integer | null

factory() public static méthode

public static factory ( $timeout = self::DEFAULT_TIMEOUT )

getTimeout() public méthode

public getTimeout ( )

runCommand() public méthode

public runCommand ( string $name, null | string | array $comandArgument = null, null | Callable $lineCallback = null ) : null | string
$name string
$comandArgument null | string | array
$lineCallback null | Callable
Résultat null | string

setTimeout() public méthode

public setTimeout ( $timeout )