Code
Explorer
You are a developer and looking for Shopware projects?
Apply Now!
setItemRoundingFluent example
yield
'language id chain considered for hash' =>
[
(
new
DummyContext
(
)
)
->
setLanguageChain
(
[
'foo'
]
)
,
]
;
yield
'version considered for hash' =>
[
(
new
DummyContext
(
)
)
->
setVersionId
(
'foo'
)
,
]
;
yield
'rounding mode considered for hash' =>
[
(
new
DummyContext
(
)
)
->
setItemRoundingFluent
(
new
CashRoundingConfig
(
2, 0.5, true
)
)
,
]
;
yield
'rules considered for hash' =>
[
(
new
DummyContext
(
)
)
->
setAreaRuleIdsFluent
(
[
'test' =>
[
'foo'
]
]
)
,
]
;
}
}
/** * @internal */