static function get() { if (!Router::$inst) { Router::$inst = new Router(); } return Router::$inst; }
/** * Clear the global singleton instance for this class. * Needed to ensure reset when switching site configurations. */ static function clear() { Router::$inst = null; }