protected function ServicesRESTServerFactory::getContext in Services 7.3
1 call to ServicesRESTServerFactory::getContext()
- ServicesRESTServerFactory::getRESTServer in servers/
rest_server/ includes/ ServicesRESTServerFactory.inc
1 method overrides ServicesRESTServerFactory::getContext()
- MockServicesRESTServerFactory::getContext in servers/
rest_server/ tests/ rest_server_mock_classes.inc
File
- servers/
rest_server/ includes/ ServicesRESTServerFactory.inc, line 41
Class
- ServicesRESTServerFactory
- Factory class to build RESTServer object.
Code
protected function getContext() {
$context = new ServicesContext($this->data['endpoint_path']);
$context
->buildFromGlobals();
return $context;
}