PHP Интерфейс Fakerino\FakeData\FakeDataInterface

Автор: Nicola Pietroluongo ([email protected])
Показать файл Открыть проект

Открытые методы

Метод Описание
__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.

Описание методов

__construct() публичный метод

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

generatedBy() публичный метод

Returns generators for processing the fake data.
public generatedBy ( ) : string
Результат string

getDefaultOptions() публичный метод

Gets the default options.
public getDefaultOptions ( ) : array
Результат array

getOption() публичный метод

Gets an option from its name.
public getOption ( string $key ) : mixed
$key string
Результат mixed

getRequiredOptions() публичный метод

Gets the required options.
public getRequiredOptions ( ) : array
Результат array