/** * Singleton method to retrieve the __UriFactory instance * * @return __UriFactory The singleton __UriFactory instance */ public static function &getInstance() { if (self::$_instance == null) { self::$_instance = new __UriFactory(); } return self::$_instance; }