|
|
| $generator |
| |
|
| $validator |
| |
|
| $maxRetries |
| |
Proxy for other generators, to return only valid values. Works with Faker\Generator\Base->valid()
◆ __construct()
| Faker\ValidGenerator::__construct |
( |
Generator |
$generator, |
|
|
|
$validator = null, |
|
|
|
$maxRetries = 10000 |
|
) |
| |
- Parameters
-
| Generator | $generator | |
| callable | null | $validator | |
| integer | $maxRetries | |
◆ __call()
| Faker\ValidGenerator::__call |
( |
|
$name, |
|
|
|
$arguments |
|
) |
| |
Catch and proxy all generator calls with arguments but return only valid values
- Parameters
-
| string | $name | |
| array | $arguments | |
- Returns
- mixed
◆ __get()
| Faker\ValidGenerator::__get |
( |
|
$attribute | ) |
|
Catch and proxy all generator calls but return only valid values
- Parameters
-
- Returns
- mixed
The documentation for this class was generated from the following file:
- vendor/fzaninotto/faker/src/Faker/ValidGenerator.php