Conditions | 2 |
Paths | 2 |
Total Lines | 11 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
18 | public function getClientToken(): ?string |
||
19 | { |
||
20 | try { |
||
21 | return $this->gateway->clientToken()->generate(); |
||
22 | } catch (Exception $exception) { |
||
23 | $this->logger->error( |
||
24 | 'Error on ' . __CLASS__ . '->' . __FUNCTION__ . ': ' . $exception->getMessage() |
||
25 | ); |
||
26 | } |
||
27 | return null; |
||
28 | } |
||
29 | |||
68 |