PHP Class Eris\Generator\OneOfGenerator

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

Public Methods

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

Private Methods

Method Description
allWithSameFrequency ( $generators )

Method Details

__construct() public method

public __construct ( $generators )

__invoke() public method

public __invoke ( $size, $rand )

contains() public method

public contains ( GeneratedValue $element )
$element GeneratedValue

shrink() public method

public shrink ( GeneratedValue $element )
$element GeneratedValue