Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Eris
Generator
IntegerGenerator
PHP Class Eris\Generator\IntegerGenerator
Inheritance:
implements
Eris\Generator
Show file
Open project: giorgiosironi/eris
Public Methods
Method
Description
__construct
(
callable
$mapFn
= null )
__invoke
(
$size
,
$rand
)
contains
(
GeneratedValue
$element
)
shrink
(
GeneratedValue
$element
)
Private Methods
Method
Description
checkValueToShrink
(
$value
)
identity
( )
Method Details
__construct()
public
method
public
__construct
(
callable
$mapFn
= null )
$mapFn
callable
__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