\Symfony\Component\ProcessExecutableFinder

Generic executable finder.

Summary

Methods
Properties
Constants
setSuffixes()
addSuffix()
find()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$suffixes
N/A

Properties

$suffixes

$suffixes : 

Type

Methods

setSuffixes()

setSuffixes(array  $suffixes) 

Replaces default suffixes of executable.

Parameters

array $suffixes

addSuffix()

addSuffix(string  $suffix) 

Adds new possible suffix to check for executable.

Parameters

string $suffix

find()

find(string  $name, string  $default = null, array  $extraDirs = array()) : string

Finds an executable by name.

Parameters

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

Returns

string —

The executable path or default value