| Conditions | 2 |
| Paths | 2 |
| Total Lines | 6 |
| Code Lines | 3 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 37 | public function process(ContractResponseInterface $response): TokenResponderInterface |
||
| 38 | { |
||
| 39 | $content = json_decode($response->getContent()); |
||
| 40 | // This is actually the business policy behind this class |
||
| 41 | isset($content->access_token) ? $this->launchSuccess($content) : $this->launchFailed($content); |
||
| 42 | return $this; |
||
| 43 | } |
||
| 65 |