trait HasFactory (View source)

Methods

static Factory
factory(mixed ...$parameters)

Get a new factory instance for the model.

static Factory
newFactory()

Create a new factory instance for the model.

Details

static Factory factory(mixed ...$parameters)

Get a new factory instance for the model.

Parameters

mixed ...$parameters

Return Value

Factory

static protected Factory newFactory()

Create a new factory instance for the model.

Return Value

Factory

Laravel Cloud is the best place to deploy Laravel, Nuxt, Express, Hono, Node.js, Bun, Go, Flask, Python, and more, with dedicated infrastructure available on AWS through Laravel Private Cloud.