PHP Class Eris\Generator\TupleGenerator

Inheritance: implements Eris\Generator
ファイルを表示 Open project: giorgiosironi/eris

Public Methods

Method Description
__construct ( array $generators )
__invoke ( $size, $rand )
contains ( GeneratedValue $tuple )
shrink ( GeneratedValue $tuple )

Private Methods

Method Description
checkValueToShrink ( $value )
domainsTupleAsString ( )
ensureAreAllGenerators ( array $generators )

Method Details

__construct() public method

public __construct ( array $generators )
$generators array

__invoke() public method

public __invoke ( $size, $rand )

contains() public method

public contains ( GeneratedValue $tuple )
$tuple GeneratedValue

shrink() public method

public shrink ( GeneratedValue $tuple )
$tuple GeneratedValue