| Total Complexity | 3 |
| Total Lines | 39 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php |
||
| 18 | class LoadFixturesSubscriber implements EventSubscriberInterface |
||
| 19 | { |
||
| 20 | /** |
||
| 21 | * @var KernelInterface |
||
| 22 | */ |
||
| 23 | protected $kernel; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @var FixtureManager |
||
| 27 | */ |
||
| 28 | protected $fixtureManager; |
||
| 29 | |||
| 30 | /** |
||
| 31 | * LoadFixturesSubscriber constructor. |
||
| 32 | * |
||
| 33 | * @param KernelInterface $kernel |
||
| 34 | */ |
||
| 35 | public function __construct(KernelInterface $kernel, FixtureManager $fixtureManager) |
||
| 36 | { |
||
| 37 | $this->kernel = $kernel; |
||
| 38 | $this->fixtureManager = $fixtureManager; |
||
| 39 | } |
||
| 40 | |||
| 41 | /** |
||
| 42 | * {@inheritdoc} |
||
| 43 | */ |
||
| 44 | public static function getSubscribedEvents() |
||
| 48 | ]; |
||
| 49 | } |
||
| 50 | |||
| 51 | public function loadFixtures() |
||
| 57 | } |
||
| 58 | } |