| Total Complexity | 5 |
| Total Lines | 39 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | final class TestingCustomSegmentFactory implements CustomSegmentFactoryInterface |
||
| 11 | { |
||
| 12 | /** @var string */ |
||
| 13 | private $customKey; |
||
| 14 | |||
| 15 | public function __construct(string $customKey) |
||
| 16 | { |
||
| 17 | $this->customKey = $customKey; |
||
| 18 | } |
||
| 19 | |||
| 20 | public function segmentFromArray(array $rawArray): ?SegmentInterface |
||
| 49 | } |
||
| 50 | }; |
||
| 51 | } |
||
| 52 | } |
||
| 53 |