public function Lockr::patch in Lockr 7
Same name and namespace in other branches
- 7.2 vendor/lockr/lockr-client/src/Lockr.php \Lockr\Lockr::patch()
File
- src/
Lockr/ Lockr.php, line 97
Class
- Lockr
- Primary interface for Lockr API calls.
Namespace
LockrCode
public function patch($uri, $data) {
$uri = $this->partner
->getWriteUri() . $uri;
$options = $this->partner
->requestOptions();
$options['data'] = $data;
return $this
->request('PATCH', $uri, $options);
}