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

@param string                  $share     The share name.
@param string                  $path      The path of the directory.
@param FileServiceOptions|null $options   The optional parameters.

@return GetDirectoryMetadataResult

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