public function Lockr::patch in Lockr 7.2
Same name and namespace in other branches
- 7 src/Lockr/Lockr.php \Lockr\Lockr::patch()
File
- vendor/
lockr/ lockr-client/ src/ Lockr.php, line 102
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);
}