| Conditions | 2 |
| Paths | 2 |
| Total Lines | 11 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php declare(strict_types=1); |
||
| 26 | public function extract( |
||
| 27 | ExtractionRequest $request, |
||
| 28 | Extractor $baseExtractor = null |
||
| 29 | ): array { |
||
| 30 | if ($this->condition->isSatisfiedBy($request->value())) { |
||
| 31 | return [PropertyState::with( |
||
| 32 | (string) $request->objectName(), |
||
| 33 | (string) $request->value() |
||
| 34 | )]; |
||
| 35 | } |
||
| 36 | return $this->next->extract($request, $baseExtractor); |
||
| 37 | } |
||
| 39 |