Total Complexity | 2 |
Total Lines | 34 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
11 | class AdminFactory extends Factory |
||
12 | { |
||
13 | /** |
||
14 | * The name of the factory's corresponding model. |
||
15 | * |
||
16 | * @var class-string<\Illuminate\Database\Eloquent\Model|TModel> |
||
|
|||
17 | */ |
||
18 | protected $model = \App\Modules\Admins\Models\Admin::class; |
||
19 | |||
20 | /** |
||
21 | * Define the model's default state. |
||
22 | * |
||
23 | * @return array<string, mixed> |
||
24 | */ |
||
25 | public function definition(): array |
||
33 | ]; |
||
34 | } |
||
35 | |||
36 | /** |
||
37 | * Indicate that the model's email address should be unverified. |
||
38 | * |
||
39 | * @return $this |
||
40 | */ |
||
41 | public function unverified(): static |
||
48 |