PHP Class Eris\Generator\SequenceGenerator

Inheritance: implements Eris\Generator
Exibir arquivo Open project: giorgiosironi/eris

Public Methods

Method Description
__construct ( Eris\Generator $singleElementGenerator )
__invoke ( $size, $rand )
contains ( GeneratedValue $sequence )
shrink ( GeneratedValue $sequence )

Private Methods

Method Description
shrinkInSize ( $sequence )
shrinkTheElements ( $sequence )
vector ( $size )

Method Details

__construct() public method

public __construct ( Eris\Generator $singleElementGenerator )
$singleElementGenerator Eris\Generator

__invoke() public method

public __invoke ( $size, $rand )

contains() public method

public contains ( GeneratedValue $sequence )
$sequence GeneratedValue

shrink() public method

public shrink ( GeneratedValue $sequence )
$sequence GeneratedValue