src/Path.php
protected function quote(string $value): string
    {
        $path = \preg_quote($value, '()');
        $path = \strtr($path, [
            '\\(' => '(',
            '\\)' => ')',
            '\\<' => '<',
            '\\>' => '>',
        ]);

        return \str_replace(')', ')?', $path);
    }
protected function quote(string $value): string
    {
        $path = \preg_quote($value, '()');
        $path = \strtr($path, [
            '\\(' => '(',
            '\\)' => ')',
            '\\<' => '<',
            '\\>' => '>',
        ]);

        return \str_replace(')', ')?', $path);
    }
@param string $value

@return string