예제 #1
0
 /**
  * Store an item in the storage service.
  *
  * @param  string $destinationPath
  * @param  mixed $data
  * @param  array $options
  * @return void
  */
 public function storeItem($destinationPath, $data, $options = null)
 {
     $this->rackspace->storeObject($this->container, $destinationPath, $data, $options);
     if (!$this->rackspace->isSuccessful()) {
         throw new Exception\RuntimeException('Error on store: ' . $this->rackspace->getErrorMsg());
     }
 }