public function actionGetRouteRules($siteId = null, $includeGlobal = true): Response
    {
        return $this->asJson(RouteMap::$plugin->routes->getRouteRules($siteId, $includeGlobal));
    }
public function actionGetRouteRules($siteId = null, $includeGlobal = true): Response
    {
        return $this->asJson(RouteMap::$plugin->routes->getRouteRules($siteId, $includeGlobal));
    }
public function actionGetRouteRules ( $ siteId = null , $ includeGlobal = true ) : Response { return $ this -> asJson ( RouteMap :: $ plugin -> routes -> getRouteRules ( $ siteId , $ includeGlobal ) ) ; }
Return the Craft Control Panel and `routes.php` rules

@param int|null $siteId
@param bool     $includeGlobal

@return Response
Return the Craft Control Panel and routes . php rules