$faker->randomElement(['a', 'b', 'c']) // returns one random item
$faker->randomElements(['a', 'b', 'c'], 2) // returns 2 random items
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community