PHP Class Eris\Generator\IntegerGenerator

Inheritance: implements Eris\Generator
Afficher le fichier Open project: giorgiosironi/eris

Méthodes publiques

Méthode Description
__construct ( callable $mapFn = null )
__invoke ( $size, $rand )
contains ( GeneratedValue $element )
shrink ( GeneratedValue $element )

Private Methods

Méthode Description
checkValueToShrink ( $value )
identity ( )

Method Details

__construct() public méthode

public __construct ( callable $mapFn = null )
$mapFn callable

__invoke() public méthode

public __invoke ( $size, $rand )

contains() public méthode

public contains ( GeneratedValue $element )
$element GeneratedValue

shrink() public méthode

public shrink ( GeneratedValue $element )
$element GeneratedValue