original_string: 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);
      }
code: 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);
      }
code_tokens: 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 ) ; }
docstring: Add language provider to DI container
docstring_tokens: Add language provider to DI container