*/ class BookmarkSiteFactory extends Factory { /** * Define the model's default state. * * @return array */ public function definition(): array { return [ 'name' => $this->faker->name, 'description' => $this->faker->sentence, 'url' => $this->faker->url, 'category' => BookmarkCategory::factory(), ]; } }