| 1 | <?php |
||
| 8 | class ExecutionChain implements StackAwareInterface |
||
| 9 | { |
||
| 10 | use StackAwareTrait; |
||
| 11 | |||
| 12 | /** |
||
| 13 | * Build and execute the chain. |
||
| 14 | * |
||
| 15 | * @param \Psr\Http\Message\ServerRequestInterface $request |
||
| 16 | * @param \Psr\Http\Message\ResponseInterface $response |
||
| 17 | * |
||
| 18 | * @return \Psr\Http\Message\ResponseInterface |
||
| 19 | */ |
||
| 20 | 33 | public function execute(ServerRequestInterface $request, ResponseInterface $response) |
|
| 25 | |||
| 26 | /** |
||
| 27 | * Build an execution chain. |
||
| 28 | * |
||
| 29 | * @return callable |
||
| 30 | */ |
||
| 31 | 33 | protected function buildExecutionChain() |
|
| 47 | } |
||
| 48 |