PHP Class Eris\Generator\MapGenerator

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

Public Methods

Method Description
__construct ( callable $map, $generator )
__invoke ( $_size, $rand )
contains ( GeneratedValue $value )
shrink ( GeneratedValue $value )

Method Details

__construct() public method

public __construct ( callable $map, $generator )
$map callable

__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