src/Locator.php
public function locateAll($command)
    {
        return array_values(array_filter($this->_pathBuilder->getPermutations($command), $this->_executableTester));
    }
public function locateAll($command)
    {
        return array_values(array_filter($this->_pathBuilder->getPermutations($command), $this->_executableTester));
    }
Locates all versions of the given command in the user's path.

@api
@param string $command The command to locate.
@return array The locations where the command exists.