Code
Explorer
You are a developer and looking for Shopware projects?
Apply Now!
on example
Events::
on
(
'pre_system',
static
function
D
)
{
if
(
ENVIRONMENT !== 'testing'
)
{
if
(
ini_get
(
'zlib.output_compression'
)
)
{
throw
FrameworkException::
forEnabledZlibOutputCompression
(
)
;
}
while
(
ob_get_level
(
)
> 0
)
{
ob_end_flush
(
)
;
}
ob_start
(
static
fn
(
$buffer
)
=>
$buffer
)
;
}