$page_name";
}
}
if(!empty($navpages)){
$default_page = $routerConfig["default_page"];
$nav_out .= "$site_name";
}
}
return $nav_out;
}
function getNavigationEndpoint() :array{
return [
"Status" => "Success",
"Navigation" => generateNavigation(),
];
}