Documentation

UserFactory extends Factory
in package

Class UserFactory

Table of Contents

$model  : string
The name of the factory's corresponding model.
definition()  : array<string|int, mixed>
Define the model's default state.

Properties

$model

The name of the factory's corresponding model.

protected string $model = AppModelsUser::class

Methods

definition()

Define the model's default state.

public definition() : array<string|int, mixed>
Return values
array<string|int, mixed>

Search results