PHP Interface Fakerino\FakeData\FakeDataInterface

Author: Nicola Pietroluongo ([email protected])
Datei anzeigen Open project: fakerino/fakerino

Public Methods

Method Description
__construct ( null | array $options = null ) Constructor
generatedBy ( ) : string Returns generators for processing the fake data.
getDefaultOptions ( ) : array Gets the default options.
getOption ( string $key ) : mixed Gets an option from its name.
getRequiredOptions ( ) : array Gets the required options.

Method Details

__construct() public method

Constructor
public __construct ( null | array $options = null )
$options null | array

generatedBy() public method

Returns generators for processing the fake data.
public generatedBy ( ) : string
return string

getDefaultOptions() public method

Gets the default options.
public getDefaultOptions ( ) : array
return array

getOption() public method

Gets an option from its name.
public getOption ( string $key ) : mixed
$key string
return mixed

getRequiredOptions() public method

Gets the required options.
public getRequiredOptions ( ) : array
return array