Code
Explorer
You are a developer and looking for Shopware projects?
Apply Now!
spoofRequestMethod example
}
$this
->pageCache->
setTtl
(
0
)
;
$this
->bufferLevel =
ob_get_level
(
)
;
$this
->
startBenchmark
(
)
;
$this
->
getRequestObject
(
)
;
$this
->
getResponseObject
(
)
;
$this
->
spoofRequestMethod
(
)
;
try
{
$this
->response =
$this
->
handleRequest
(
$routes
,
config
(
Cache::
class
)
,
$returnResponse
)
;
}
catch
(
ResponsableInterface|DeprecatedRedirectException
$e
)
{
$this
->
outputBufferingEnd
(
)
;
if
(
$e
instanceof DeprecatedRedirectException
)
{
$e
=
new
RedirectException
(
$e
->
getMessage
(
)
,
$e
->
getCode
(
)
,
$e
)
;
}
$this
->response =
$e
->
getResponse
(
)
;
}
catch
(
PageNotFoundException
$e
)
{