public function registerDependencies()
    {
        if(empty($this->languageProvider)) {
            throw new InvalidConfigException("Invalid configuration of '$this->id' module");
        }

        Yii::$container->set('bl\emailTemplates\providers\LanguageProviderInterface', $this->languageProvider);
    }