Factory
interface Factory (View source)
Methods
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. |
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.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/8.x/Illuminate/Contracts/Auth/Factory.html