| 1 | <?php |
||
| 15 | abstract class AbstractStrategy implements |
||
| 16 | ImmutableContainerAwareInterface, |
||
| 17 | RequestAwareInterface, |
||
| 18 | ResponseAwareInterface |
||
| 19 | { |
||
| 20 | use ImmutableContainerAwareTrait; |
||
| 21 | use RequestAwareTrait; |
||
| 22 | use ResponseAwareTrait; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * Attempt to build a response. |
||
| 26 | * |
||
| 27 | * @param mixed $response |
||
| 28 | * |
||
| 29 | * @throws \RuntimeException if a response cannot be built |
||
| 30 | * |
||
| 31 | * @return \Psr\Http\Message\ResponseInterface |
||
| 32 | */ |
||
| 33 | 21 | protected function determineResponse($response) |
|
| 52 | } |
||
| 53 |