Total Complexity | 4 |
Total Lines | 39 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
11 | final class FixtureList |
||
12 | { |
||
13 | /** |
||
14 | * @var FixtureInterface[] |
||
15 | */ |
||
16 | private $fixtures; |
||
17 | |||
18 | /** |
||
19 | * @var Metadata[] |
||
20 | */ |
||
21 | private $metadata; |
||
22 | |||
23 | /** |
||
24 | * @param Metadata[] $metadata |
||
25 | * @param FixtureInterface[] $fixtures |
||
26 | * |
||
27 | * @throws InvalidArgumentException |
||
28 | */ |
||
29 | 16 | private function __construct(array $metadata, FixtureInterface ...$fixtures) |
|
33 | 16 | } |
|
34 | |||
35 | 16 | public static function constructFromFixturesLoader(Loader $fixturesLoader): self |
|
40 | } |
||
41 | |||
42 | 12 | public function getFixtures(): array |
|
45 | } |
||
46 | |||
47 | 4 | public function getMetadata(): array |
|
52 |