protected function generateLockResponse(LockInfo $lockInfo)
    {
        return $this->server->xml->write('{DAV:}prop', [
            '{DAV:}lockdiscovery' => new DAV\Xml\Property\LockDiscovery([$lockInfo]),
        ]);
    }
protected function generateLockResponse(LockInfo $lockInfo)
    {
        return $this->server->xml->write('{DAV:}prop', [
            '{DAV:}lockdiscovery' => new DAV\Xml\Property\LockDiscovery([$lockInfo]),
        ]);
    }
protected function generateLockResponse ( LockInfo $ lockInfo ) { return $ this -> server -> xml -> write ( '{DAV:}prop' , [ '{DAV:}lockdiscovery' => new DAV \ Xml \ Property \ LockDiscovery ( [ $ lockInfo ] ) , ] ) ; }
Generates the response for successful LOCK requests.

@param LockInfo $lockInfo

@return string
Generates the response for successful LOCK requests .