src/Directories.php
public function set(string $name, string $path): DirectoriesInterface
    {
        $path = str_replace(['\\', '//'], '/', $path);
        $this->directories[$name] = rtrim($path, '/') . '/';

        return $this;
    }
public function set(string $name, string $path): DirectoriesInterface
    {
        $path = str_replace(['\\', '//'], '/', $path);
        $this->directories[$name] = rtrim($path, '/') . '/';

        return $this;
    }
{@inheritdoc}