/** * {@inheritdoc} */ public function archive(Log $log) { $operation = new Callback(function () use($log) { return $this->client->archive($log); }); $this->operationRunner->run($operation); return $operation->getResult(); }
/** * @When I archive the log */ public function iArchiveTheLog() { $this->log = $this->client->archive($this->log); }