public function httpReport(RequestInterface $request, ResponseInterface $response)
    {
        $path = $request->getPath();

        $result = $this->server->xml->parse(
            $request->getBody(),
            $request->getUrl(),
            $rootElementName
        );

        if ($this->server->emit('report', [$rootElementName, $result, $path])) {
            // If emit returned true, it means the report was not supported
            throw new Exception\ReportNotSupported();
        }

        // Sending back false will interrupt the event chain and tell the server
        // we've handled this method.
        return false;
    }
public function httpReport(RequestInterface $request, ResponseInterface $response)
    {
        $path = $request->getPath();

        $result = $this->server->xml->parse(
            $request->getBody(),
            $request->getUrl(),
            $rootElementName
        );

        if ($this->server->emit('report', [$rootElementName, $result, $path])) {
            // If emit returned true, it means the report was not supported
            throw new Exception\ReportNotSupported();
        }

        // Sending back false will interrupt the event chain and tell the server
        // we've handled this method.
        return false;
    }
public function httpReport ( RequestInterface $ request , ResponseInterface $ response ) { $ path = $ request -> getPath ( ) ; $ result = $ this -> server -> xml -> parse ( $ request -> getBody ( ) , $ request -> getUrl ( ) , $ rootElementName ) ; if ( $ this -> server -> emit ( 'report' , [ $ rootElementName , $ result , $ path ] ) ) { // If emit returned true, it means the report was not supported throw new Exception \ ReportNotSupported ( ) ; } // Sending back false will interrupt the event chain and tell the server // we've handled this method. return false ; }
HTTP REPORT method implementation.

Although the REPORT method is not part of the standard WebDAV spec (it's from rfc3253)
It's used in a lot of extensions, so it made sense to implement it into the core.

@param RequestInterface  $request
@param ResponseInterface $response

@return bool
HTTP REPORT method implementation .