public function DeployRemoteCcAuthenticatorSession::deploy in Deploy - Content Staging 7.3
Initiates an authenticated deployment.
Parameters
Traversable $iterator: Usually this will be an object from a subclass of DeployAggregatorBase.
Overrides DeployAuthenticator::deploy
File
- modules/
deploy_remote_cc/ plugins/ DeployRemoteCcAuthenticatorSession.inc, line 38
Class
- DeployRemoteCcAuthenticatorSession
- Authenticator for Cache clear service.
Code
public function deploy(\Traversable $iterator) {
list($response, $token) = $this
->logIn();
// Deploy the plan.
$this->service
->deploy($iterator);
$this
->logOut($response, $token);
}