| Conditions | 2 |
| Paths | 2 |
| Total Lines | 11 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php declare(strict_types=1); |
||
| 21 | public function extract( |
||
| 22 | ExtractionRequest $request, |
||
| 23 | Extractor $baseExtractor = null |
||
| 24 | ): array { |
||
| 25 | if ($request->pointsToAnotherEntity()) { |
||
| 26 | return [PropertyState::with( |
||
| 27 | (string) $request->objectName(), |
||
| 28 | $request->otherEntityId() |
||
| 29 | )]; |
||
| 30 | } |
||
| 31 | return $this->next->extract($request, $baseExtractor); |
||
| 32 | } |
||
| 34 |