/** * Constructor. * * @param string $path */ public function __construct($path = null) { $this->binary = Cli::detectCmdLocation($this->cmd, $path, Cli::getCommandLocations($this->cmd)); }