*/ class CompanySectorFactory extends Factory { /** * Define the model's default state. * * @return array */ public function definition(): array { return [ "name" => $this->faker->unique()->words( $this->faker->numberBetween(3, 4), true ), "published" => $this->faker->boolean(50), ]; } }