Methods summary
public
|
#
__construct( string $namespace = 'default' )
Constructor
Parameters
- $namespace
- The database namespace
|
public
|
#
setDbNamespace( string $namespace )
Setter for $dbNamespace
Parameters
- $namespace
- The database namespace
|
public
string
|
#
getDbNamespace( )
Getter for $dbNamespace
Returns
string The database namespace
|
public static
string
|
#
getReference( string $key )
Set reference key
Parameters
Returns
string
|
public static
mixed
|
#
getReferenceValue( string $key )
Get reference field value
Get reference field value
Parameters
Returns
mixed The value
|
public
boolean
|
#
run( array $entities = array() )
Run seeding
Parameters
- $entities
- The array of entity names to be executed only
Returns
boolean TRUE if seeded; otherwise FALSE
|