Translations:J3.x:Supporting SEF URLs in your component/75/en
From Joomla! Documentation
From you can also create SEF URLs between any application (the most important use case of this will be creating URLs from the administrator/api to the frontend of Joomla). To achieve this a new method has been introduced. The
\Joomla\CMS\Router\Route::link
is very similar to the \Joomla\CMS\Router\Route::_
discussed in the previous section. \Joomla\CMS\Router\Route::link
has four parameters and its prototype is: