Data Provider


Data Provider Interface

Describes Data Provider interface.

option

Retrieve one of value from array element.

$value = $random->option($array);

dataProvider

Retrieve value from data provider.

$value = $random->dataProvider($name, $size);

Build-In Data Provider

NameDescription
addressAddress data collections.
cityCity data collections.
companyCompany data collections.
countryCountry data collections.
departmentDepartment data collections.
nameName data collections.
phone-codePhone code data collections.
productProduct data collections.
professionProfession data collections.
tldTop level domain data collections.
wordWord data collections.