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;
    }
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;
    }
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 ; }
Add a ConfigInterface object to collection

@param \Kaecyra\AppCommon\ConfigInterface $config
@return ConfigCollection
Add a ConfigInterface object to collection