You are here

public function DeployRemoteCcServiceRestJSON::getContext in Deploy - Content Staging 7.3

Provides access to the context to be able to use it elsewhere.

The fetchContext() function is protected however it would be useful to be able to use it outside of the class.

Return value

resource The stream context resource.

File

modules/deploy_remote_cc/plugins/DeployRemoteCcServiceRestJSON.inc, line 49

Class

DeployRemoteCcServiceRestJSON
Class for calling Rest Service.

Code

public function getContext() {
  return parent::fetchContext();
}