Toggle navigation
Hot Examples
ZH
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
搜索
Home
Eris
Generator
IntegerGenerator
PHP Class Eris\Generator\IntegerGenerator
Inheritance:
implements
Eris\Generator
显示文件
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