Total Complexity | 3 |
Total Lines | 37 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
14 | class TokenGenerator implements TokenGeneratorInterface |
||
15 | { |
||
16 | /** |
||
17 | * @var \SprykerEco\Service\Braintree\BraintreeConfig |
||
18 | */ |
||
19 | protected $config; |
||
20 | |||
21 | /** |
||
22 | * @var |
||
23 | */ |
||
24 | protected static $clientToken; |
||
25 | |||
26 | /** |
||
27 | * @param \SprykerEco\Service\Braintree\BraintreeConfig $config |
||
28 | */ |
||
29 | public function __construct(BraintreeConfig $config) |
||
30 | { |
||
31 | $this->config = $config; |
||
32 | } |
||
33 | |||
34 | /** |
||
35 | * @return string |
||
36 | */ |
||
37 | public function generateToken(): string |
||
51 | } |
||
52 | } |
||
53 |