PHP Class Fakerino\FakeData\AbstractFakeDataGenerator

Author: Nicola Pietroluongo ([email protected])
Inheritance: implements Fakerino\FakeData\FakeDataGeneratorInterface
Show file Open project: fakerino/fakerino

Protected Properties

Property Type Description
$caller Fakerino\FakeData\FakeDataInterface

Public Methods

Method Description
generate ( )
getOption ( string $key ) : mixed Gets the options useful for the generate process.
setCaller ( Fakerino\FakeData\FakeDataInterface $fakeData ) Sets the class that calls this generator.

Method Details

generate() abstract public method

abstract public generate ( )

getOption() public method

Gets the options useful for the generate process.
public getOption ( string $key ) : mixed
$key string
return mixed

setCaller() public method

Sets the class that calls this generator.
public setCaller ( Fakerino\FakeData\FakeDataInterface $fakeData )
$fakeData Fakerino\FakeData\FakeDataInterface

Property Details

$caller protected property

protected FakeDataInterface,Fakerino\FakeData $caller
return Fakerino\FakeData\FakeDataInterface