PHP Class Fabricate\Factory\FabricateModelFactory

Inheritance: extends Fabricate\Factory\FabricateAbstractFactory
Datei anzeigen Open project: sizuhiko/fabricate

Public Methods

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

Protected Methods

Method Description
fakeRecord ( $tableInfo, $index ) {@inheritDoc}

Method Details

__construct() public method

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

attributes_for() public method

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

build() public method

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

create() public method

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

fakeRecord() protected method

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