Code
Explorer
You are a developer and looking for Shopware projects?
Apply Now!
isTrueCase example
$sequence
->
setId
(
Uuid::
randomHex
(
)
)
;
$sequence
->
setParentId
(
$parent
->
getId
(
)
)
;
$sequence
->
setActionName
(
$action
->
getName
(
)
)
;
$sequence
->
setConfig
(
$this
->
generateActionConfig
(
$action
->
getName
(
)
)
)
;
$sequence
->
setTrueCase
(
$trueCase
)
;
$sequence
->
setPosition
(
$parent
->
getPosition
(
)
+ 1
)
;
if
(
$parent
->
getActionName
(
)
)
{
$sequence
->
assign
(
[
'parentId' =>
$parent
->
getParentId
(
)
,
'trueCase' =>
$parent
->
isTrueCase
(
)
,
]
)
;
}
$sequence
->
assign
(
[
'ruleId' => null,
]
)
;
unset
(
$this
->actions
[
$action
->
getName
(
)
]
)
;
return
$sequence
;
}