| 1 | <?php |
||
| 21 | final class GeocoderFulfilledPromise implements Promise |
||
| 22 | { |
||
| 23 | /** |
||
| 24 | * @var Collection |
||
| 25 | */ |
||
| 26 | private $collection; |
||
| 27 | |||
| 28 | /** |
||
| 29 | * @param Collection $collection |
||
| 30 | */ |
||
| 31 | public function __construct(Collection $collection) |
||
| 35 | |||
| 36 | /** |
||
| 37 | * {@inheritdoc} |
||
| 38 | */ |
||
| 39 | public function then(callable $onFulfilled = null, callable $onRejected = null) |
||
| 51 | |||
| 52 | /** |
||
| 53 | * {@inheritdoc} |
||
| 54 | */ |
||
| 55 | public function getState() |
||
| 59 | |||
| 60 | /** |
||
| 61 | * {@inheritdoc} |
||
| 62 | */ |
||
| 63 | public function wait($unwrap = true) |
||
| 69 | } |
||
| 70 |