Skip to content

BaseSeeder


Properties

faker

protected \Faker\Generator $faker

Methods

__construct

final public __construct(): mixed
  • This method is final.

withFakerSeed

Set a deterministic Faker seed

public withFakerSeed(int $seed): static

Parameters:

Parameter Type Description
$seed int

call

Call another seeder

protected call(string|\Qubus\Expressive\Migration\Seeder\Seeder $seeder, \Qubus\Expressive\Migration\Seeder\SeederContext $context): void

Parameters:

Parameter Type Description
$seeder string|\Qubus\Expressive\Migration\Seeder\Seeder
$context \Qubus\Expressive\Migration\Seeder\SeederContext

Throws: