function ServicesContext::__construct in Services 7.3
Context constructor.
Parameters
string $endpoint_path: Path of endpoint. Example call is to /{endpoint path}/node/1.json. When context is built we keep endpoint path as separate variable as it is needed to determine canonical path.
File
- servers/
rest_server/ includes/ ServicesContext.inc, line 34
Class
Code
function __construct($endpoint_path) {
$this->data['endpoint_path'] = $endpoint_path;
}