original_string: public function addConfig(ConfigInterface $config) {
          // Add to config list
          $this->configs->attach($config);
  
          // If collection is in merge mode, add config data to common store
          $this->store->merge($config->dump());
          return $this;
      }
code: public function addConfig(ConfigInterface $config) {
          // Add to config list
          $this->configs->attach($config);
  
          // If collection is in merge mode, add config data to common store
          $this->store->merge($config->dump());
          return $this;
      }
code_tokens: public function addConfig ( ConfigInterface $ config ) { // Add to config list $ this -> configs -> attach ( $ config ) ; // If collection is in merge mode, add config data to common store $ this -> store -> merge ( $ config -> dump ( ) ) ; return $ this ; }
docstring: Add a ConfigInterface object to collection
  
  @param \Kaecyra\AppCommon\ConfigInterface $config
  @return ConfigCollection
docstring_tokens: Add a ConfigInterface object to collection