*/ class ParticipantFactory extends Factory { /** * The current token being used by the factory. */ protected static ?string $token; /** * Define the model's default state. * * @return array */ public function definition(): array { return [ 'token' => (string) Str::ulid(), ]; } }