original_string: public function registerComponents()
      {
          $this->registerDbConnection();
          $this->registerIdentity();
          $this->registerCache();
          $this->registerAuthorization();
          $this->registerFormatter();
          $this->registerTranslations();
      }
code: public function registerComponents()
      {
          $this->registerDbConnection();
          $this->registerIdentity();
          $this->registerCache();
          $this->registerAuthorization();
          $this->registerFormatter();
          $this->registerTranslations();
      }
code_tokens: public function registerComponents ( ) { $ this -> registerDbConnection ( ) ; $ this -> registerIdentity ( ) ; $ this -> registerCache ( ) ; $ this -> registerAuthorization ( ) ; $ this -> registerFormatter ( ) ; $ this -> registerTranslations ( ) ; }
docstring: Registers required components.
  @throws InvalidConfigException
docstring_tokens: Registers required components .