void state(string $class, string $state, callable $attributes) Define a
bool|null restore() Restore a soft-deleted model instance.
mixed sum(callable|string|null $callback = null) Get the sum of the given
static Collection hydrate(array $items
void __construct(Generator $faker) Create a new factory instance.
void __construct(array $attributes = array()) Create a new Eloquent model
array getObservableEvents() Get the observable event names.
bool trashed() Determine if the model instance has been soft-deleted.
static void bootSoftDeletingTrait() Boot the soft deleting trait
void __construct(string $class, string $name, array $definitions, array $states, Generator $faker)
Page 36 of 39