public function httpDelete(RequestInterface $request, ResponseInterface $hR, $tempLocation)
    {
        if (!file_exists($tempLocation)) {
            return;
        }

        unlink($tempLocation);
        $hR->setHeader('X-Sabre-Temp', 'true');
        $hR->setStatus(204);

        return false;
    }
public function httpDelete(RequestInterface $request, ResponseInterface $hR, $tempLocation)
    {
        if (!file_exists($tempLocation)) {
            return;
        }

        unlink($tempLocation);
        $hR->setHeader('X-Sabre-Temp', 'true');
        $hR->setStatus(204);

        return false;
    }
public function httpDelete ( RequestInterface $ request , ResponseInterface $ hR , $ tempLocation ) { if ( ! file_exists ( $ tempLocation ) ) { return ; } unlink ( $ tempLocation ) ; $ hR -> setHeader ( 'X-Sabre-Temp' , 'true' ) ; $ hR -> setStatus ( 204 ) ; return false ; }
This method handles the DELETE method.

If the file didn't exist, it will return false, which will make the
standard HTTP DELETE handler kick in.

@param RequestInterface  $request
@param ResponseInterface $hR
@param string            $tempLocation

@return bool
This method handles the DELETE method .