Пример #1
0
 /**
  * Get a key/value array of metadata for the given path.
  *
  * @param  string $path
  * @param  array  $options
  * @return array
  */
 public function fetchMetadata($path, $options = null)
 {
     try {
         return $this->_storageClient->getBlobMetaData($this->_container, $path);
     } catch (WindowsAzureException\ExceptionInterface $e) {
         if (strpos($e->getMessage(), "could not be accessed") !== false) {
             return false;
         }
         throw new Exception\RuntimeException('Error on fetch: ' . $e->getMessage(), $e->getCode(), $e);
     }
 }