public function normalizePath(string $path, int $options = self::MODE_DEFAULT): string
    {
        $this->validateOptions($options);
        $pathInfo = $this->getPathInfo();
        $pathInfo->initAll($path);
        $this->checkWrappers($options);
        $this->absoluteChecks($options);
        $path = '';
        if ($pathInfo->hasWrappers()) {
            $path .= \implode('://', $pathInfo->getWrapperList()) . '://';
        }
        $path .= $pathInfo->getRoot() . \implode('/', $this->cleanPartsPath()) . '/';
        return $path;
    }