ExecutableFinder (Component\Process)
Symfony\Component\Process\ExecutableFinder
class ExecutableFinder
Generic executable finder.
Methods
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. |
Details
public setSuffixes(array $suffixes)
Replaces default suffixes of executable.
public addSuffix(string $suffix)
Adds new possible suffix to check for executable.
public string find(string $name, string $default = null, array $extraDirs = array())
Finds an executable by name.
© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.0/Symfony/Component/Process/ExecutableFinder.html