Copied!

Generic executable finder.

Cloneable Instantiable
Methods
public addSuffix ( string $suffix )
 

Adds new possible suffix to check for executable.

public find ( string $name , ? string $default = NULL , array $extraDirs = [ ] )
 

Finds an executable by name.

  • return string | null The executable path or default value
public setSuffixes ( array $suffixes )
 

Replaces default suffixes of executable.

Properties
private $suffixes
© 2020 Bruce Wells
Search Namespaces \ Classes
Configuration Numbers (0-9.) only