| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 8 |
| CRAP Score | 1 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 22 | 1 | public function execute($request) |
|
| 23 | { |
||
| 24 | 1 | RequestNotSupportedException::assertSupports($this, $request); |
|
| 25 | 1 | $httpRequest = new GetHttpRequest(); |
|
| 26 | 1 | $this->gateway->execute($httpRequest); |
|
| 27 | |||
| 28 | 1 | $getToken = new GetToken(md5($httpRequest->request['order_no'])); |
|
| 29 | 1 | $this->gateway->execute($getToken); |
|
| 30 | 1 | $this->gateway->execute(new Notify($getToken->getToken())); |
|
| 31 | 1 | } |
|
| 32 | |||
| 43 |