/** * get already existing instance, make new instance or throw an exception * @return L10n */ public static function getInstance() { if (self::$instance === null) { self::$instance = new L10n(); } return self::$instance; }