| 1 | <?php |
||
| 8 | class GatewayManager |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * @var Request |
||
| 12 | */ |
||
| 13 | protected $request; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * @var ParserInterface |
||
| 17 | */ |
||
| 18 | protected $parser; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @var HandlerInterface |
||
| 22 | */ |
||
| 23 | protected $handler; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * |
||
| 27 | */ |
||
| 28 | public function __construct(AbstractHandler $handler, Request $request) |
||
| 36 | |||
| 37 | /** |
||
| 38 | * Parse the inbound request |
||
| 39 | * |
||
| 40 | * @return ParserInterface |
||
| 41 | */ |
||
| 42 | public function parse() |
||
| 46 | |||
| 47 | /** |
||
| 48 | * Run the handler |
||
| 49 | * |
||
| 50 | * @return ?? |
||
| 51 | */ |
||
| 52 | public function runHandler() |
||
| 56 | } |
||
| 57 |