AbstractSeeder
class AbstractSeeder (View source)
The AbstractSeeder class.
Methods
__construct(AbstractDatabaseDriver $db = null, Command $command = null)
Class init.
void
doExecute()
doExecute
void
doClear()
doClear
AbstractTable
getTable($name)
Get DB table.
truncate($name)
truncate
AbstractDatabaseDriver
getDb()
Method to get property Db
setDb(AbstractDatabaseDriver $db)
Method to set property db
Command
getCommand()
Method to get property Command
setCommand(Command $command)
Method to set property command
Command
outCounting()
outCounting
Details
at line line 50
__construct(AbstractDatabaseDriver $db = null, Command $command = null)
Class init.
at line line 63
AbstractSeeder
execute(AbstractSeeder|string $seeder = null)
execute
at line line 91
abstract void
doExecute()
doExecute
at line line 100
AbstractSeeder
clear(AbstractSeeder|string $seeder = null)
clear
at line line 125
abstract void
doClear()
doClear
at line line 134
AbstractTable
getTable($name)
Get DB table.
at line line 146
AbstractSeeder
truncate($name)
truncate
at line line 158
AbstractDatabaseDriver
getDb()
Method to get property Db
at line line 170
AbstractSeeder
setDb(AbstractDatabaseDriver $db)
Method to set property db
at line line 182
Command
getCommand()
Method to get property Command
at line line 194
AbstractSeeder
setCommand(Command $command)
Method to set property command
at line line 206
Command
outCounting()
outCounting