22 lines
438 B
PHP
22 lines
438 B
PHP
<?php
|
|
|
|
namespace Database\Factories;
|
|
|
|
use App\Models\BookmarkCategory;
|
|
use Illuminate\Database\Eloquent\Factories\Factory;
|
|
|
|
/**
|
|
* @extends Factory<BookmarkCategory>
|
|
*/
|
|
class BookmarkCategoryFactory extends Factory {
|
|
/**
|
|
* Define the model's default state.
|
|
*
|
|
* @return array<string, mixed>
|
|
*/
|
|
public function definition(): array {
|
|
return [
|
|
'name' => $this->faker->word,
|
|
];
|
|
}
|
|
}
|