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
OneOfGenerator
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