Exemplo n.º 1
0
 /**
  * Delete an item in the storage service.
  *
  * @param  string $path
  * @param  array $options
  * @return void
  */
 public function deleteItem($path, $options = array())
 {
     try {
         $this->_s3->removeObject($this->_getFullPath($path, $options));
     } catch (Zend\Service\Amazon\S3\Exception $e) {
         throw new Exception\RuntimeException('Error on delete: ' . $e->getMessage(), $e->getCode(), $e);
     }
 }