BackendInterface
If you are defining your own Locks backend, you must implement this interface.
- Full name:
\Sabre\DAV\Locks\Backend\BackendInterface
Methods
getLocks
Returns a list of Sabre\DAV\Locks\LockInfo objects.
This method should return all the locks for a particular uri, including locks that might be set on a parent uri.
If returnChildLocks is set to true, this method should also look for any locks in the subtree of the uri for locks.
Parameters:
Parameter | Type | Description |
---|---|---|
$uri |
string | |
$returnChildLocks |
bool |
lock
Locks a uri.
Parameters:
Parameter | Type | Description |
---|---|---|
$uri |
string | |
$lockInfo |
\Sabre\DAV\Locks\LockInfo |
unlock
Removes a lock from a uri.
Parameters:
Parameter | Type | Description |
---|---|---|
$uri |
string | |
$lockInfo |
\Sabre\DAV\Locks\LockInfo |
Automatically generated on 2025-03-18