Ookma-Kyi Core

UserFactory extends Factory
in package

Tags
extends

\Illuminate\Database\Eloquent\Factories\Factory<\App\Models\User>

Table of Contents

Methods

definition()  : array<string, mixed>
Define the model's default state.
unverified()  : static
Indicate that the model's email address should be unverified.
withPersonalTeam()  : static
Indicate that the user should have a personal team.

Methods

definition()

Define the model's default state.

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

unverified()

Indicate that the model's email address should be unverified.

public unverified() : static
Return values
static

withPersonalTeam()

Indicate that the user should have a personal team.

public withPersonalTeam([callable $callback = null ]) : static
Parameters
$callback : callable = null
Return values
static

        
On this page

Search results