Total Complexity | 3 |
Total Lines | 27 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
19 | class CollectionPromise extends AbstractLazyCollection implements CollectionPromiseInterface |
||
20 | { |
||
21 | /** @var PromiseInterface */ |
||
22 | protected $promise; |
||
23 | |||
24 | /** |
||
25 | * @param PromiseInterface $promise |
||
26 | */ |
||
27 | public function __construct(PromiseInterface $promise) |
||
30 | } |
||
31 | |||
32 | /** |
||
33 | * @inheritdoc |
||
34 | */ |
||
35 | public function getPromise(): PromiseInterface |
||
36 | { |
||
37 | return $this->promise; |
||
38 | } |
||
39 | |||
40 | /** |
||
41 | * @inheritdoc |
||
42 | */ |
||
43 | protected function doInitialize() |
||
46 | } |
||
47 | } |