src/LocatorFactory/WindowsLocatorFactory.php
public function createFromPath($path, $pathext)
    {
        $paths = array_merge(['.'], array_filter(explode(';', $path)));
        $extensions = array_merge([''], array_filter(explode(';', $pathext)));
        return new Locator(new WindowsPathBuilder($paths, $extensions));
    }
public function createFromPath($path, $pathext)
    {
        $paths = array_merge(['.'], array_filter(explode(';', $path)));
        $extensions = array_merge([''], array_filter(explode(';', $pathext)));
        return new Locator(new WindowsPathBuilder($paths, $extensions));
    }
Create a locator using semicolon-separated PATH and PATHEXT strings.

The semicolon is a hard separator.  This means that command paths cannot
have a semicolon in the name.

The current working directory is always prepended to the list of paths.

@api
@param string $path The semicolon-separated PATH string.
@param string $pathext The semicolon-separated PATHEXT string.
@return \Nubs\Which\Locator The locator.