| 1 | <?php |
||
| 18 | class PaymentDispatcher |
||
|
|
|||
| 19 | { |
||
| 20 | /** |
||
| 21 | * @var Response |
||
| 22 | */ |
||
| 23 | private $response; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @var boolean |
||
| 27 | */ |
||
| 28 | private $forward; |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @var string |
||
| 32 | */ |
||
| 33 | private $route; |
||
| 34 | |||
| 35 | /** |
||
| 36 | * @var array |
||
| 37 | */ |
||
| 38 | private $pathParameters = []; |
||
| 39 | |||
| 40 | /** |
||
| 41 | * @var array |
||
| 42 | */ |
||
| 43 | private $queryParameters = []; |
||
| 44 | |||
| 45 | public function isForward() |
||
| 49 | |||
| 50 | public function setForward($forward) |
||
| 54 | |||
| 55 | public function getRoute() |
||
| 59 | |||
| 60 | public function setRoute($route) |
||
| 66 | |||
| 67 | public function getQueryParameters() |
||
| 71 | |||
| 72 | public function setQueryParameters(array $queryParameters) |
||
| 78 | |||
| 79 | public function getPathParameters() |
||
| 83 | |||
| 84 | public function setPathParameters(array $pathParameters) |
||
| 90 | |||
| 91 | /** |
||
| 92 | * @param Response $response |
||
| 93 | * |
||
| 94 | * @return PaymentResult |
||
| 95 | */ |
||
| 96 | public function setResponse(Response $response) |
||
| 102 | |||
| 103 | /** |
||
| 104 | * @return Response |
||
| 105 | */ |
||
| 106 | public function getResponse() |
||
| 110 | } |
||
| 111 |