Seeder class abstract

Populates the database (db:seed). Seeders run inside the application's command scope, so facades (DB, models, factories) are available.

Constructors

Seeder()
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
name → String
Human readable name (defaults to the class name).
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

call(List<Seeder> seeders) → Future<void>
Runs seeders in order (Laravel $this->call([...])).
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
run() → Future<void>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited