Code
Explorer
You are a developer and looking for Shopware projects?
Apply Now!
outputBody example
$headers
=
$this
->
getHeaders
(
)
;
$content
=
implode
(
"\n",
$headers
)
. "\n\n";
if
(
$this
->
isException
(
)
&&
$this
->
renderExceptions
(
)
)
{
$exceptions
= '';
foreach
(
$this
->
getException
(
)
as
$e
)
{
$exceptions
.=
$e
->
__toString
(
)
. "\n";
}
$content
.=
$exceptions
;
}
else
{
$content
.=
$this
->
outputBody
(
)
;
}
return
$content
;
}
}