Set attempt retry
public setAttemptRetry ( boolean $attemptRetry ) | ||
$attemptRetry | boolean |
/** * Starts the close sequence */ public function close() { $this->client->setAttemptRetry(false); $this->transport->close(); }
/** * @return Client * @throws \Exception */ private function getShortClient() { $client = new Client($this->config['realm']); $client->setAttemptRetry(false); $client->addTransportProvider(new PawlTransportProvider($this->config['trusted_url'])); return $client; }