Метод | Описание | |
---|---|---|
__construct ( ) | ||
addSuffix ( $suffix ) | ||
find ( string $name, string $default = null, array $extraDirs = [] ) : string | Finds an executable by name. | |
setSuffixes ( array $suffixes ) |
public find ( string $name, string $default = null, array $extraDirs = [] ) : string | ||
$name | string | The executable name (without the extension) |
$default | string | The default to return if no executable is found |
$extraDirs | array | Additional dirs to check into |
Результат | string | The executable path or default value |