getName()] = $source; } /** * @return AbstractFontSource[] */ public static function getFontSources() { return self::$fontSources; } public static function onFontManagerLoad($force = false) { foreach (self::$fontSources as $source) { $source->onFontManagerLoad($force); } } public static function onFontManagerLoadBackend() { foreach (self::$fontSources as $source) { $source->onFontManagerLoadBackend(); } } } new FontSources();