Code
Explorer
You are a developer and looking for Shopware projects?
Apply Now!
setThrowTargetExceptionsOn example
// Set Präfix Path
if
(
array_key_exists
(
'filterPrefixPath',
$options
)
)
{
if
(
!
is_scalar
(
$options
[
'filterPrefixPath'
]
)
)
{
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
)
)
{