public function getLink(): string
    {
        if ($this->link === null) {
            return str_replace("?" . $_SERVER["QUERY_STRING"], "", $_SERVER["REQUEST_URI"]);
        } else {
            return $this->link;
        }
    }