Lggr
|
Public Member Functions | |
__construct ($class) | |
getClass () | |
setColumnFormatters ($columnFormatters) | |
getColumnFormatters () | |
mergeColumnFormattersWith ($columnFormatters) | |
guessColumnFormatters (\Faker\Generator $generator, Mandango $mandango) | |
execute (Mandango $mandango, $insertedEntities) | |
Protected Attributes | |
$class | |
$columnFormatters = array() | |
Service class for populating a table through a Mandango ActiveRecord class.
Faker\ORM\Mandango\EntityPopulator::__construct | ( | $class | ) |
Class constructor.
string | $class | A Mandango ActiveRecord classname |
Faker\ORM\Mandango\EntityPopulator::execute | ( | Mandango | $mandango, |
$insertedEntities | |||
) |
Insert one new record using the Entity class.
Mandango | $mandango |
Faker\ORM\Mandango\EntityPopulator::getClass | ( | ) |
Faker\ORM\Mandango\EntityPopulator::getColumnFormatters | ( | ) |
Faker\ORM\Mandango\EntityPopulator::guessColumnFormatters | ( | \Faker\Generator | $generator, |
Mandango | $mandango | ||
) |
\Faker\Generator | $generator | |
Mandango | $mandango |