PHP Class Eris\Generator\ChooseGenerator

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

Public Methods

Method Description
__construct ( $x, $y )
__invoke ( $_size, $rand )
contains ( GeneratedValue $element )
shrink ( GeneratedValue $element )

Private Methods

Method Description
checkLimits ( $lowerLimit, $upperLimit )
checkValueToShrink ( $value )

Method Details

__construct() public method

public __construct ( $x, $y )

__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