public function propFind(DAV\PropFind $propFind, DAV\INode $node)
    {
        $propFind->handle('{DAV:}supportedlock', function () {
            return new DAV\Xml\Property\SupportedLock();
        });
        $propFind->handle('{DAV:}lockdiscovery', function () use ($propFind) {
            return new DAV\Xml\Property\LockDiscovery(
                $this->getLocks($propFind->getPath())
            );
        });
    }
public function propFind(DAV\PropFind $propFind, DAV\INode $node)
    {
        $propFind->handle('{DAV:}supportedlock', function () {
            return new DAV\Xml\Property\SupportedLock();
        });
        $propFind->handle('{DAV:}lockdiscovery', function () use ($propFind) {
            return new DAV\Xml\Property\LockDiscovery(
                $this->getLocks($propFind->getPath())
            );
        });
    }
public function propFind ( DAV \ PropFind $ propFind , DAV \ INode $ node ) { $ propFind -> handle ( '{DAV:}supportedlock' , function ( ) { return new DAV \ Xml \ Property \ SupportedLock ( ) ; } ) ; $ propFind -> handle ( '{DAV:}lockdiscovery' , function ( ) use ( $ propFind ) { return new DAV \ Xml \ Property \ LockDiscovery ( $ this -> getLocks ( $ propFind -> getPath ( ) ) ) ; } ) ; }
This method is called after most properties have been found
it allows us to add in any Lock-related properties.

@param DAV\PropFind $propFind
@param DAV\INode    $node
This method is called after most properties have been found it allows us to add in any Lock - related properties .