Lggr
Public Member Functions | Protected Attributes | List of all members
Faker\ORM\CakePHP\Populator Class Reference

Public Member Functions

 __construct (\Faker\Generator $generator)
 
 getGenerator ()
 
 getGuessers ()
 
 removeGuesser ($name)
 
 addGuesser ($class)
 
 addEntity ($entity, $number, $customColumnFormatters=[], $customModifiers=[])
 
 execute ($options=[])
 

Protected Attributes

 $generator
 
 $entities = []
 
 $quantities = []
 
 $guessers = []
 

Constructor & Destructor Documentation

◆ __construct()

Faker\ORM\CakePHP\Populator::__construct ( \Faker\Generator  $generator)
Parameters
\Faker\Generator$generator

Member Function Documentation

◆ addEntity()

Faker\ORM\CakePHP\Populator::addEntity (   $entity,
  $number,
  $customColumnFormatters = [],
  $customModifiers = [] 
)
Parameters
array$customColumnFormatters
array$customModifiers
Returns
$this

◆ addGuesser()

Faker\ORM\CakePHP\Populator::addGuesser (   $class)
Returns
$this
Exceptions

◆ execute()

Faker\ORM\CakePHP\Populator::execute (   $options = [])
Parameters
array$options
Returns
array

◆ getGenerator()

Faker\ORM\CakePHP\Populator::getGenerator ( )
Returns
\Faker\Generator

◆ getGuessers()

Faker\ORM\CakePHP\Populator::getGuessers ( )
Returns
array

◆ removeGuesser()

Faker\ORM\CakePHP\Populator::removeGuesser (   $name)
Returns
$this

The documentation for this class was generated from the following file: