core/services/request/middleware/DetectFileEditorRequest.php 1 location
|
@@ 31-40 (lines=10) @@
|
| 28 |
|
* @param ResponseInterface $response |
| 29 |
|
* @return ResponseInterface |
| 30 |
|
*/ |
| 31 |
|
public function handleRequest(RequestInterface $request, ResponseInterface $response) |
| 32 |
|
{ |
| 33 |
|
$this->request = $request; |
| 34 |
|
$this->response = $response; |
| 35 |
|
if ($this->isFileEditorRequest()) { |
| 36 |
|
$this->setFiltersForRequest(); |
| 37 |
|
} |
| 38 |
|
$this->response = $this->processRequestStack($this->request, $this->response); |
| 39 |
|
return $this->response; |
| 40 |
|
} |
| 41 |
|
|
| 42 |
|
|
| 43 |
|
/** |
core/services/request/middleware/Middleware.php 1 location
|
@@ 73-81 (lines=9) @@
|
| 70 |
|
* @param ResponseInterface $response |
| 71 |
|
* @return ResponseInterface |
| 72 |
|
*/ |
| 73 |
|
protected function processRequestStack(RequestInterface $request, ResponseInterface $response) |
| 74 |
|
{ |
| 75 |
|
$this->request = $request; |
| 76 |
|
$this->response = $response; |
| 77 |
|
if (! $this->response->requestTerminated()) { |
| 78 |
|
$this->response = $this->request_stack_app->handleRequest($this->request, $this->response); |
| 79 |
|
} |
| 80 |
|
return $this->response; |
| 81 |
|
} |
| 82 |
|
|
| 83 |
|
|
| 84 |
|
} |
core/services/request/middleware/PreProductionVersionWarning.php 1 location
|
@@ 32-39 (lines=8) @@
|
| 29 |
|
* @param ResponseInterface $response |
| 30 |
|
* @return ResponseInterface |
| 31 |
|
*/ |
| 32 |
|
public function handleRequest(RequestInterface $request, ResponseInterface $response) |
| 33 |
|
{ |
| 34 |
|
$this->request = $request; |
| 35 |
|
$this->response = $response; |
| 36 |
|
$this->displayPreProductionVersionWarning(); |
| 37 |
|
$this->response = $this->processRequestStack($this->request, $this->response); |
| 38 |
|
return $this->response; |
| 39 |
|
} |
| 40 |
|
|
| 41 |
|
|
| 42 |
|
|