| 1 | <?php |
||
| 20 | final class GeocoderRejectedPromise implements Promise |
||
| 21 | { |
||
| 22 | /** |
||
| 23 | * @var Exception |
||
| 24 | */ |
||
| 25 | private $exception; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @param Exception $exception |
||
| 29 | */ |
||
| 30 | public function __construct(Exception $exception) |
||
| 34 | |||
| 35 | /** |
||
| 36 | * {@inheritdoc} |
||
| 37 | */ |
||
| 38 | public function then(callable $onFulfilled = null, callable $onRejected = null) |
||
| 50 | |||
| 51 | /** |
||
| 52 | * {@inheritdoc} |
||
| 53 | */ |
||
| 54 | public function getState() |
||
| 58 | |||
| 59 | /** |
||
| 60 | * {@inheritdoc} |
||
| 61 | */ |
||
| 62 | public function wait($unwrap = true) |
||
| 68 | } |
||
| 69 |