You are here

public function RestfulBase::patch in RESTful 7

Call resource using the PATCH http method.

Parameters

string $path: (optional) The path.

array $request: (optional) The request.

Return value

mixed The return value can depend on the controller for the patch method.

File

plugins/restful/RestfulBase.php, line 692
Contains RestfulBase.

Class

RestfulBase
Class \RestfulBase

Code

public function patch($path = '', array $request = array()) {
  return $this
    ->process($path, $request, \RestfulInterface::PATCH);
}