azure-storage-file/src/File/FileRestProxy.php
public function setFileMetadata(
        $share,
        $path,
        array $metadata,
        FileServiceOptions $options = null
    ) {
        return $this->setFileMetadataAsync(
            $share,
            $path,
            $metadata,
            $options
        )->wait();
    }
public function setFileMetadata(
        $share,
        $path,
        array $metadata,
        FileServiceOptions $options = null
    ) {
        return $this->setFileMetadataAsync(
            $share,
            $path,
            $metadata,
            $options
        )->wait();
    }
Sets a file's metadata from the given share and path.

@param string                  $share     The share name.
@param string                  $path      The path to delete the file.
@param array                   $metadata  The metadata to be set.
@param FileServiceOptions|null $options   The optional parameters.

@return void

@see https://docs.microsoft.com/en-us/rest/api/storageservices/set-file-metadata