UserFactory
extends Factory
in package
Tags
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
staticwithPersonalTeam()
Indicate that the user should have a personal team.
public
withPersonalTeam([callable $callback = null ]) : static
Parameters
- $callback : callable = null