1 | <?php |
||
19 | class RequestStack |
||
20 | { |
||
21 | |||
22 | /** |
||
23 | * @var RequestDecoratorInterface $request_stack_app |
||
24 | */ |
||
25 | protected $request_stack_app; |
||
26 | |||
27 | /** |
||
28 | * @var RequestStackCoreAppInterface $core_app |
||
29 | */ |
||
30 | protected $core_app; |
||
31 | |||
32 | /** |
||
33 | * @var RequestInterface $request |
||
34 | */ |
||
35 | protected $request; |
||
36 | |||
37 | /** |
||
38 | * @var ResponseInterface $response |
||
39 | */ |
||
40 | protected $response; |
||
41 | |||
42 | |||
43 | /** |
||
44 | * @param RequestDecoratorInterface $request_stack_app |
||
45 | * @param RequestStackCoreAppInterface $core_app |
||
46 | */ |
||
47 | public function __construct(RequestDecoratorInterface $request_stack_app, RequestStackCoreAppInterface $core_app) |
||
52 | |||
53 | |||
54 | /** |
||
55 | * @param RequestInterface $request |
||
56 | * @param ResponseInterface $response |
||
57 | * @return ResponseInterface |
||
58 | */ |
||
59 | public function handleRequest(RequestInterface $request, ResponseInterface $response) |
||
65 | |||
66 | |||
67 | /** |
||
68 | * handle_response |
||
69 | * executes the handle_response() method on the RequestStackCoreAppInterface object |
||
70 | * after the request stack has been fully processed |
||
71 | */ |
||
72 | public function handleResponse() |
||
76 | } |
||
77 | // Location: RequestStack.php |
||
78 |