Factory
interface Factory (View source)
Methods
guard(string|null $name = null)
Get a guard instance by name.
void
shouldUse(string $name)
Set the default guard the factory should serve.
Details
Guard|StatefulGuard
guard(string|null $name = null)
Get a guard instance by name.
void
shouldUse(string $name)
Set the default guard the factory should serve.
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.