/**
* Add the basepath to the URI
*
* @param SiteRouter &$router Router object
* @param Uri &$uri URI object to process
*
* @return void
*
* @since 4.0.0
*/
public function buildBase(&$router, &$uri)
{
// Add frontend basepath to the uri
$uri->setPath(Uri::root(true) . '/' . $uri->getPath());
}