src/Viserio/Component/Session/Store.php
public function setName(string $name): void
    {
        \parse_str($name, $parsed);

        if (\implode('&', \array_keys($parsed)) !== $name) {
            throw new InvalidArgumentException(\sprintf('Session name [%s] contains illegal character(s).', $name));
        }

        $this->name = $name;
    }
public function setName(string $name): void
    {
        \parse_str($name, $parsed);

        if (\implode('&', \array_keys($parsed)) !== $name) {
            throw new InvalidArgumentException(\sprintf('Session name [%s] contains illegal character(s).', $name));
        }

        $this->name = $name;
    }
{@inheritdoc}