Joomla 4 - Link zu einer Kategorie / Beitrag ausgeben

Wie erhalte ich den Linke zu einer Category

/**

use Joomla\CMS\Router\Route;
use Joomla\Component\Content\Site\Helper\RouteHelper;

Route::_(RouteHelper::getCategoryRoute($this->item->catid, $this->item->language))

Route::_(RouteHelper::getArticleRoute($this->item->slug, $this->item->catid, $this->item->language))

https://api.joomla.org/cms-3/classes/Joomla.CMS.Helper.RouteHelper.html