lib/Finder.php
function find(string $command): \Generator {
    foreach ($this->getPath() as $directory) yield from $this->findExecutables($directory, $command);
  }
function find(string $command): \Generator {
    foreach ($this->getPath() as $directory) yield from $this->findExecutables($directory, $command);
  }
function find ( string $ command ) : \ Generator { foreach ( $ this -> getPath ( ) as $ directory ) yield from $ this -> findExecutables ( $ directory , $ command ) ; }
Finds the instances of an executable in the system path.
@param string $command The command to be resolved.
@return \Generator The paths of the executables found.
Finds the instances of an executable in the system path .