| Total Complexity | 1 |
| Total Lines | 31 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 13 | abstract class AbstractHydratorFixture extends AbstractFixture |
||
| 14 | { |
||
| 15 | /** |
||
| 16 | * The fully qualified class name to create and hydrate |
||
| 17 | * |
||
| 18 | * @var string |
||
| 19 | */ |
||
| 20 | protected string $className; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * The hydrator used to construct the instance |
||
| 24 | * |
||
| 25 | * @var HydratorInterface |
||
| 26 | */ |
||
| 27 | protected HydratorInterface $hydrator; |
||
| 28 | |||
| 29 | /** |
||
| 30 | * An array of configuration data |
||
| 31 | * |
||
| 32 | * @var array<mixed> |
||
| 33 | */ |
||
| 34 | protected array $data; |
||
| 35 | |||
| 36 | /** |
||
| 37 | * @param HydratorInterface $hydrator |
||
| 38 | * @param array<mixed> $data |
||
| 39 | */ |
||
| 40 | public function __construct(HydratorInterface $hydrator, array $data) |
||
| 46 |