public function save($name, Config $config)
  {
    $path = $this->_getPath($name);
    
    $data = $config->valueOf();
    file_put_contents(
      $path, serialize($data)
    );
    
    return true;
  }
public function save($name, Config $config)
  {
    $path = $this->_getPath($name);
    
    $data = $config->valueOf();
    file_put_contents(
      $path, serialize($data)
    );
    
    return true;
  }
public function save ( $ name , Config $ config ) { $ path = $ this -> _getPath ( $ name ) ; $ data = $ config -> valueOf ( ) ; file_put_contents ( $ path , serialize ( $ data ) ) ; return true ; }
Save config data

@param string $name   Config name
@param Config $config Config data

@return boolean
Save config data