You are here

public function RestfulBase::head in RESTful 7

Call resource using the GET 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 get method.

File

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

Class

RestfulBase
Class \RestfulBase

Code

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