| Total Complexity | 4 |
| Total Lines | 30 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php declare(strict_types=1); |
||
| 8 | final class PropertyExtractor implements Extractor |
||
| 9 | { |
||
| 10 | private $next; |
||
| 11 | |||
| 12 | private function __construct(Extractor $next) |
||
| 13 | { |
||
| 14 | $this->next = $next; |
||
| 15 | } |
||
| 16 | |||
| 17 | public static function using(Extractor $next): self |
||
| 18 | { |
||
| 19 | return new self($next); |
||
| 20 | } |
||
| 21 | |||
| 22 | public function extract( |
||
| 38 | ); |
||
| 39 | } |
||
| 40 | } |
||
| 41 |