for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace App\DataFixtures;
use Doctrine\Bundle\FixturesBundle\Fixture;
use Doctrine\Persistence\ObjectManager;
use Fidry\AliceDataFixtures\Loader\PurgerLoader;
final class AppFixtures extends Fixture
{
private PurgerLoader $loader;
public function __construct(PurgerLoader $loader)
$this->loader = $loader;
}
public function load(ObjectManager $manager): void
$this->loader->load([__DIR__ . '/../../fixtures/data.yaml']);