/** * Get the singleton instance * @return Loader */ public static function instance() { if (self::$instance == null) { self::$instance = new self(); } return self::$instance; }
/** * Unset the default registry instance. * Primarily used in tearDown() in unit tests. * * @access public * @return void */ public static function _unsetInstance() { self::$_oRegistry = null; }