Newer
Older
<?php
declare(strict_types=1);
namespace IQDEV\Tests\Packages\DoctrineHttpFilter\Fixture;
use Doctrine\Common\DataFixtures\AbstractFixture;
use Faker\Factory;
use Faker\Generator;
abstract class BaseFixture extends AbstractFixture
{
protected Generator $faker;
public function __construct(
protected int $count = 1,
string $locale = Factory::DEFAULT_LOCALE,
) {
$this->faker = Factory::create($locale);
}
}