Spaces:
No application file
No application file
File size: 509 Bytes
d2897cd |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
<?php
namespace Mautic\CoreBundle\Doctrine\Loader;
use Doctrine\Bundle\FixturesBundle\Loader\SymfonyFixturesLoader;
/**
* The sole purpose of this class is to make SymfonyFixturesLoader mockable.
*/
final class MauticFixturesLoader implements FixturesLoaderInterface
{
public function __construct(
private SymfonyFixturesLoader $fixturesLoader
) {
}
public function getFixtures(array $groups = []): array
{
return $this->fixturesLoader->getFixtures($groups);
}
}
|