Code
Explorer
You are a developer and looking for Shopware projects?
Apply Now!
floatPrototype example
public
function
testPrototypeInteger
(
)
{
$node
=
new
ArrayNodeDefinition
(
'root'
)
;
$this
->
assertEquals
(
$node
->
prototype
(
'integer'
)
,
$node
->
integerPrototype
(
)
)
;
}
public
function
testPrototypeFloat
(
)
{
$node
=
new
ArrayNodeDefinition
(
'root'
)
;
$this
->
assertEquals
(
$node
->
prototype
(
'float'
)
,
$node
->
floatPrototype
(
)
)
;
}
public
function
testPrototypeArray
(
)
{
$node
=
new
ArrayNodeDefinition
(
'root'
)
;
$this
->
assertEquals
(
$node
->
prototype
(
'array'
)
,
$node
->
arrayPrototype
(
)
)
;
}
public
function
testPrototypeEnum
(
)
{
$node
=
new
ArrayNodeDefinition
(
'root'
)
;