Exemplo n.º 1
0
 public function __construct($response)
 {
     parent::__construct(self::MESSAGE, self::STATUS, $response);
 }
Exemplo n.º 2
0
 public function __construct($response)
 {
     parent::__construct(self::MESSAGE, self::STATUS, $response);
     $this->retryAfter = isset($response->headers['Retry-After']) ? (double) $response->headers['Retry-After'] : null;
 }