| 1 | <?php |
||
| 5 | class FixturesLoader extends LoadData |
||
| 6 | { |
||
| 7 | const FIXTURES_EXT = 'yml'; |
||
| 8 | |||
| 9 | /** @var array */ |
||
| 10 | private $fixturesPaths = []; |
||
| 11 | |||
| 12 | /** @var string */ |
||
| 13 | private $fixtureSourceDir; |
||
| 14 | |||
| 15 | public function __construct($dir = null) |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @param string $fixtureName |
||
| 23 | * |
||
| 24 | * @throws \Exception |
||
| 25 | */ |
||
| 26 | public function addFixture(string $fixtureName) |
||
| 36 | |||
| 37 | /** |
||
| 38 | * @inheritdoc |
||
| 39 | */ |
||
| 40 | protected function getFixtures() |
||
| 44 | } |
||
| 45 |