| Total Complexity | 4 |
| Total Lines | 23 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 11 | class EntryHydrator implements HydratorInterface |
||
| 12 | { |
||
| 13 | /** @var ValidatorInterface */ |
||
| 14 | private $entryValidator; |
||
| 15 | |||
| 16 | 16 | public function __construct(ValidatorInterface $entryValidator) |
|
| 19 | 16 | } |
|
| 20 | |||
| 21 | 14 | public function supports(string $type): bool |
|
| 24 | } |
||
| 25 | |||
| 26 | 11 | public function hydrate(array $tile): Tile |
|
| 29 | } |
||
| 30 | |||
| 31 | 11 | public function validate(array $tile): void |
|
| 36 |