public static function getInstance()
    {
        if (null === self::$_instance) {
            self::$_instance = new self();
            self::$_instance->provider = Yii::$container->get('motion\i18n\LanguageProviderInterface');
        }

        return self::$_instance;
    }
public static function getInstance()
    {
        if (null === self::$_instance) {
            self::$_instance = new self();
            self::$_instance->provider = Yii::$container->get('motion\i18n\LanguageProviderInterface');
        }

        return self::$_instance;
    }
public static function getInstance ( ) { if ( null === self :: $ _instance ) { self :: $ _instance = new self ( ) ; self :: $ _instance -> provider = Yii :: $ container -> get ( 'motion\i18n\LanguageProviderInterface' ) ; } return self :: $ _instance ; }
Gets the instance via lazy initialization.

@return LanguageHelper

@throws \yii\base\InvalidConfigException
@throws \yii\di\NotInstantiableException
Gets the instance via lazy initialization .