PHP Class Faker\UniqueGenerator

Show file Open project: fzaninotto/faker

Protected Properties

Property Type Description
$generator
$maxRetries
$uniques

Public Methods

Method Description
__call ( string $name, array $arguments ) : mixed Catch and proxy all generator calls with arguments but return only unique values
__construct ( Generator $generator, $maxRetries = 10000 )
__get ( string $attribute ) : mixed Catch and proxy all generator calls but return only unique values

Method Details

__call() public method

Catch and proxy all generator calls with arguments but return only unique values
public __call ( string $name, array $arguments ) : mixed
$name string
$arguments array
return mixed

__construct() public method

public __construct ( Generator $generator, $maxRetries = 10000 )
$generator Generator
$maxRetries

__get() public method

Catch and proxy all generator calls but return only unique values
public __get ( string $attribute ) : mixed
$attribute string
return mixed

Property Details

$generator protected property

protected $generator

$maxRetries protected property

protected $maxRetries

$uniques protected property

protected $uniques