PHP Class Fabricate\Factory\FabricateModelFactory

Inheritance: extends Fabricate\Factory\FabricateAbstractFactory
Afficher le fichier Open project: sizuhiko/fabricate

Méthodes publiques

Méthode Description
__construct ( Fabricate\Model\FabricateModel $model ) Construct
attributes_for ( $recordCount, $definition ) {@inheritDoc}
build ( $data, $definition ) {@inheritDoc}
create ( $attributes, $recordCount, $definition ) {@inheritDoc}

Méthodes protégées

Méthode Description
fakeRecord ( $tableInfo, $index ) {@inheritDoc}

Method Details

__construct() public méthode

Construct
public __construct ( Fabricate\Model\FabricateModel $model )
$model Fabricate\Model\FabricateModel FabricateModel instance

attributes_for() public méthode

{@inheritDoc}
public attributes_for ( $recordCount, $definition )

build() public méthode

{@inheritDoc}
public build ( $data, $definition )

create() public méthode

{@inheritDoc}
public create ( $attributes, $recordCount, $definition )

fakeRecord() protected méthode

{@inheritDoc}
protected fakeRecord ( $tableInfo, $index )