storageCapacity = $storageCapacity; } /** * Not implemented */ public function parseFromXml($strXml) { throw new OssException("Not implemented."); } /** * Serialize StorageCapacityConfig into xml * * @return string */ public function serializeToXml() { $xml = new \SimpleXMLElement(''); $xml->addChild('StorageCapacity', strval($this->storageCapacity)); return $xml->asXML(); } /** * To string * * @return string */ function __toString() { return $this->serializeToXml(); } /** * Set storage capacity * * @param int $storageCapacity */ public function setStorageCapacity($storageCapacity) { $this->storageCapacity = $storageCapacity; } /** * Get storage capacity * * @return int */ public function getStorageCapacity() { return $this->storageCapacity; } private $storageCapacity = 0; }