src/Viserio/Component/Cookie/SetCookie.php
public function withValue(string $value = null): CookieContract
    {
        $this->validateValue($value);

        $new        = clone $this;
        $new->value = $value;

        return $new;
    }
public function withValue(string $value = null): CookieContract
    {
        $this->validateValue($value);

        $new        = clone $this;
        $new->value = $value;

        return $new;
    }
{@inheritdoc}