public static function GetInstance() : Translator
   {

      if ( null === self::$_instance )
      {
         self::$_instance = new Translator();
      }

      return self::$_instance;

   }
public static function GetInstance() : Translator
   {

      if ( null === self::$_instance )
      {
         self::$_instance = new Translator();
      }

      return self::$_instance;

   }
public static function GetInstance ( ) : Translator { if ( null === self :: $ _instance ) { self :: $ _instance = new Translator ( ) ; } return self :: $ _instance ; }
Gets the global Translator instance. If none is define a empty one is created.

@return \Niirrty\Translation\Translator
@throws TranslationException
Gets the global Translator instance . If none is define a empty one is created .