PHP Class Eris\Generator\SuchThatGenerator

Inheritance: implements Eris\Generator
Mostra file Open project: giorgiosironi/eris

Public Methods

Method Description
__construct ( $filter, $generator, $maximumAttempts = 100 )
__invoke ( $size, $rand )
contains ( GeneratedValue $value )
shrink ( GeneratedValue $value )

Private Methods

Method Description
predicate ( GeneratedValue $value )

Method Details

__construct() public method

public __construct ( $filter, $generator, $maximumAttempts = 100 )

__invoke() public method

public __invoke ( $size, $rand )

contains() public method

public contains ( GeneratedValue $value )
$value GeneratedValue

shrink() public method

public shrink ( GeneratedValue $value )
$value GeneratedValue