| 1 | <?php |
||
| 25 | final class GCMServerError extends GCMException { |
||
| 26 | /** |
||
| 27 | * @var int retry timeout |
||
| 28 | */ |
||
| 29 | private $retryAfter = 0; |
||
| 30 | |||
| 31 | /** |
||
| 32 | * Retry timeout getter |
||
| 33 | * @return int retry timeout timestamp |
||
| 34 | */ |
||
| 35 | public function getRetryAfter() { |
||
| 38 | |||
| 39 | /** |
||
| 40 | * @param null|string $retryAfter retry after header value |
||
| 41 | * @param string $message exception message |
||
| 42 | * @param int $code exception error code |
||
| 43 | */ |
||
| 44 | public function __construct($retryAfter = null, $message = '', $code = 0) { |
||
| 50 | } |
||
| 51 |