| Total Complexity | 4 | 
| Total Lines | 25 | 
| Duplicated Lines | 0 % | 
| Changes | 0 | ||
| 1 | <?php declare(strict_types=1); | ||
| 7 | final class EntityReferenceExtractor implements Extractor | ||
| 8 | { | ||
| 9 | private $next; | ||
| 10 | |||
| 11 | private function __construct(Extractor $next) | ||
| 12 |     { | ||
| 13 | $this->next = $next; | ||
| 14 | } | ||
| 15 | |||
| 16 | public static function withAlternative(Extractor $next): Extractor | ||
| 17 |     { | ||
| 18 | return new self($next); | ||
| 19 | } | ||
| 20 | |||
| 21 | public function extract( | ||
| 32 | } | ||
| 33 | } | ||
| 34 |