class ExecutableFinder
Generic executable finder.
setSuffixes(array $suffixes) Replaces default suffixes of executable. | ||
addSuffix(string $suffix) Adds new possible suffix to check for executable. | ||
string | find(string $name, string $default = null, array $extraDirs = array()) Finds an executable by name. |
Replaces default suffixes of executable.
array | $suffixes |
Adds new possible suffix to check for executable.
string | $suffix |
Finds an executable by name.
string | $name | The executable name (without the extension) |
string | $default | The default to return if no executable is found |
array | $extraDirs | Additional dirs to check into |
string | The executable path or default value |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/Process/ExecutableFinder.html