ValidGenerator
class ValidGenerator
Proxy for other generators, to return only valid values. Works with Faker\Generator\Base->valid()
Methods
__construct(
Generator $generator,
callable|null $validator = null,
integer $maxRetries = 10000)
No description
mixed
__get(
string $attribute)
Catch and proxy all generator calls but return only valid values
mixed
__call(
string $name,
array $arguments)
Catch and proxy all generator calls with arguments but return only valid values