PHP Class GrumPHP\Locator\ExternalCommand

Afficher le fichier Open project: phpro/grumphp Class Usage Examples

Protected Properties

Свойство Type Description
$binDir string
$executableFinder Symfony\Component\Process\ExecutableFinder

Méthodes publiques

Méthode Description
__construct ( string $binDir, ExecutableFinder $executableFinder )
locate ( string $command, boolean $forceUnix = false ) : string

Method Details

__construct() public méthode

public __construct ( string $binDir, ExecutableFinder $executableFinder )
$binDir string
$executableFinder Symfony\Component\Process\ExecutableFinder

locate() public méthode

public locate ( string $command, boolean $forceUnix = false ) : string
$command string
$forceUnix boolean This parameter makes it possible to force unix style commands on a windows environment. This can be useful in git hooks.
Résultat string

Property Details

$binDir protected_oe property

protected string $binDir
Résultat string

$executableFinder protected_oe property

protected ExecutableFinder,Symfony\Component\Process $executableFinder
Résultat Symfony\Component\Process\ExecutableFinder