src/Filter/FilterUrl.php
public function setPageValue(string $name, $value): self
    {
        if (empty($value)) {
            unset($this->page[$name]);
            return $this;
        }

        $this->page[$name] = $value;

        return $this;
    }
public function setPageValue(string $name, $value): self
    {
        if (empty($value)) {
            unset($this->page[$name]);
            return $this;
        }

        $this->page[$name] = $value;

        return $this;
    }
Set a value in the target page.

@param string $name  The parameter name.
@param mixed  $value The parameter value.

@return self