trait HasFactory (View source)
static Factory | factory(mixed ...$parameters) Get a new factory instance for the model. | |
static Factory | newFactory() Create a new factory instance for the model. |
Get a new factory instance for the model.
Create a new factory instance for the model.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/8.x/Illuminate/Database/Eloquent/Factories/HasFactory.html