/** * Get/parse path + query string parameters * * @return array */ public static function parseParameters() { self::cachingHeaders(); // Verify if the browser has a cached version self::$requestPath = self::requestPath(); self::$queryString = self::queryString(); if (self::$requestPath) { // Merge two arrays // Order is important ! The query string shouldn't erase request path ! $config = array_merge(self::$queryString, self::$requestPath); self::$config = $config; return true; } return false; }