PHP Class Eris\Generator\ConstantGenerator

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

Public Methods

Method Description
__construct ( $value )
__invoke ( $_size, $rand )
box ( $value )
contains ( GeneratedValue $element )
shrink ( GeneratedValue $element )

Method Details

__construct() public method

public __construct ( $value )

__invoke() public method

public __invoke ( $_size, $rand )

box() public static method

public static box ( $value )

contains() public method

public contains ( GeneratedValue $element )
$element GeneratedValue

shrink() public method

public shrink ( GeneratedValue $element )
$element GeneratedValue