Code
Explorer
You are a developer and looking for Shopware projects?
Apply Now!
setTargetReplacementIdentifier example
foreach
(
$options
[
'filterPrefixPath'
]
as
$prefix
=>
$path
)
{
$this
->
addFilterPrefixPath
(
$prefix
,
$path
)
;
}
}
}
if
(
array_key_exists
(
'throwTargetExceptionsOn',
$options
)
)
{
$this
->
setThrowTargetExceptionsOn
(
$options
[
'throwTargetExceptionsOn'
]
)
;
}
if
(
array_key_exists
(
'targetReplacementIdentifier',
$options
)
)
{
$this
->
setTargetReplacementIdentifier
(
$options
[
'targetReplacementIdentifier'
]
)
;
}
if
(
array_key_exists
(
'target',
$options
)
)
{
$this
->
setTarget
(
$options
[
'target'
]
)
;
}
if
(
array_key_exists
(
'rules',
$options
)
)
{
$this
->
addRules
(
$options
[
'rules'
]
)
;
}
return
$this
;
}