Symfony\Component\Process\ExecutableFinder::find
Finds an executable by name.
Signature
public function find(string
$name,
[string
$default = null,
array
$extraDirs] )
Parameters
$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
Returns
- string
- The executable path or default value