protected function registerDependencies()
    {
        Yii::$container->setDefinitions([
            EmailTemplatesRepositoryInterface::class => $this->repository,
            LanguageProviderInterface::class => $this->languageProvider,
        ]);
    }
protected function registerDependencies()
    {
        Yii::$container->setDefinitions([
            EmailTemplatesRepositoryInterface::class => $this->repository,
            LanguageProviderInterface::class => $this->languageProvider,
        ]);
    }
protected function registerDependencies ( ) { Yii :: $ container -> setDefinitions ( [ EmailTemplatesRepositoryInterface :: class => $ this -> repository , LanguageProviderInterface :: class => $ this -> languageProvider , ] ) ; }
Register dependencies to DI container.
Register dependencies to DI container .