Code
Explorer
You are a developer and looking for Shopware projects?
Apply Now!
setLanguageChain example
yield
'currency id considered for hash' =>
[
(
new
DummyContext
(
)
)
->
setCurrencyId
(
'foo'
)
,
]
;
yield
'sales channel id considered for hash' =>
[
(
new
DummyContext
(
)
)
->
setSalesChannelId
(
'foo'
)
,
]
;
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' =>
[
(