todo/database/factories/LabelFactory.php

16 lines
248 B
PHP

<?php
namespace Database\Factories;
use Illuminate\Database\Eloquent\Factories\Factory;
class LabelFactory extends Factory
{
public function definition(): array
{
return [
'name' => fake()->name(),
];
}
}