*/ class StudioFactory extends Factory { /** * The name of the factory's corresponding model. * * @var class-string */ protected $model = Studio::class; /** * Define the model's default state. * * @return array */ public function definition(): array { return [ Studio::ATTRIBUTE_NAME => fake()->words(3, true), Studio::ATTRIBUTE_SLUG => Str::slug(fake()->text(191), '_'), ]; } }