Seeder
in package
Sql seeder class
Tags
Table of Contents
Methods
Methods
create()
Create new migration file
public
static create(string $class[, string|null $path = null ]) : string
Parameters
- $class : string
- $path : string|null = null
Tags
Return values
stringrun()
Run the seeder
public
static run(AbstractAdapter $db, string $path[, bool $clear = true ]) : array<string|int, mixed>
Parameters
- $db : AbstractAdapter
- $path : string
- $clear : bool = true