Code
Explorer
You are a developer and looking for Shopware projects?
Apply Now!
getStorefrontPluginRegistry example
static
::
assertEquals
(
$expected
,
$actual
)
;
}
public
function
testDBException
(
)
: void
{
$configService
=
$this
->
getConfigurationServiceDbException
(
[
new
SimplePlugin
(
true, __DIR__ . '/fixtures/SimplePlugin'
)
,
]
)
;
$storefrontPluginRegistry
=
$this
->
getStorefrontPluginRegistry
(
[
new
SimplePlugin
(
true, __DIR__ . '/fixtures/SimplePlugin'
)
,
]
)
;
$subscriber
=
new
ThemeCompilerEnrichScssVarSubscriber
(
$configService
,
$storefrontPluginRegistry
)
;
$stderr
=
fopen
(
'php://stderr', 'wb'
)
;
$subscriber
->
enrichExtensionVars
(
new
ThemeCompilerEnrichScssVariablesEvent
(
[
]
, TestDefaults::SALES_CHANNEL, Context::
createDefaultContext
(
)
)
)
;
}