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