events-venues/database/factories/VenueFactory.php

28 lines
445 B
PHP

<?php
declare(strict_types = 1);
namespace Database\Factories;
use App\Models\Venue;
use Illuminate\Database\Eloquent\Factories\Factory;
/**
* @extends Factory<Venue>
*/
class VenueFactory extends Factory
{
/**
* Define the model's default state.
*
* @return array<string, mixed>
*/
public function definition(): array
{
return [
'name' => $this->faker->catchPhrase,
];
}
}