22 lines
416 B
PHP
22 lines
416 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Database\Factories\Engelsystem\Models;
|
|
|
|
use Engelsystem\Models\Group;
|
|
use Illuminate\Database\Eloquent\Factories\Factory;
|
|
|
|
class GroupFactory extends Factory
|
|
{
|
|
/** @var string */
|
|
protected $model = Group::class; // phpcs:ignore
|
|
|
|
public function definition(): array
|
|
{
|
|
return [
|
|
'name' => $this->faker->unique()->word(),
|
|
];
|
|
}
|
|
}
|