| Total Complexity | 4 |
| Total Lines | 37 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 23 | class CollectionPromise extends AbstractLazyCollection implements CollectionPromiseInterface, Selectable |
||
| 24 | { |
||
| 25 | /** @var PromiseInterface */ |
||
| 26 | protected $promise; |
||
| 27 | |||
| 28 | /** |
||
| 29 | * @param PromiseInterface $promise |
||
| 30 | */ |
||
| 31 | public function __construct(PromiseInterface $promise) |
||
| 34 | } |
||
| 35 | |||
| 36 | /** |
||
| 37 | * @inheritdoc |
||
| 38 | */ |
||
| 39 | public function getPromise(): PromiseInterface |
||
| 40 | { |
||
| 41 | return $this->promise; |
||
| 42 | } |
||
| 43 | |||
| 44 | /** |
||
| 45 | * @inheritdoc |
||
| 46 | */ |
||
| 47 | protected function doInitialize(): void |
||
| 50 | } |
||
| 51 | |||
| 52 | /** |
||
| 53 | * @inheritDoc |
||
| 54 | */ |
||
| 55 | public function matching(Criteria $criteria) |
||
| 62 |