Factory (Database\Eloquent)

Factory

class Factory implements ArrayAccess (View source)

Methods

void __construct( Generator $faker)

Create a new factory instance.

static Factory construct( Generator $faker, string|null $pathToFactories = null)

Create a new factory container.