public function parseMultiStatus($body)
    {
        $multistatus = $this->xml->expect('{DAV:}multistatus', $body);

        $result = [];

        foreach ($multistatus->getResponses() as $response) {
            $result[$response->getHref()] = $response->getResponseProperties();
        }

        return $result;
    }
public function parseMultiStatus($body)
    {
        $multistatus = $this->xml->expect('{DAV:}multistatus', $body);

        $result = [];

        foreach ($multistatus->getResponses() as $response) {
            $result[$response->getHref()] = $response->getResponseProperties();
        }

        return $result;
    }
public function parseMultiStatus ( $ body ) { $ multistatus = $ this -> xml -> expect ( '{DAV:}multistatus' , $ body ) ; $ result = [ ] ; foreach ( $ multistatus -> getResponses ( ) as $ response ) { $ result [ $ response -> getHref ( ) ] = $ response -> getResponseProperties ( ) ; } return $ result ; }
Parses a WebDAV multistatus response body.

This method returns an array with the following structure

[
'url/to/resource' => [
'200' => [
'{DAV:}property1' => 'value1',
'{DAV:}property2' => 'value2',
],
'404' => [
'{DAV:}property1' => null,
'{DAV:}property2' => null,
],
],
'url/to/resource2' => [
.. etc ..
]
]


@param string $body xml body

@return array
Parses a WebDAV multistatus response body .