Total Complexity | 3 |
Total Lines | 37 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
9 | class TokenGenerator implements TokenGeneratorInterface |
||
10 | { |
||
11 | /** |
||
12 | * @var BraintreeConfig |
||
13 | */ |
||
14 | protected $config; |
||
15 | |||
16 | /** |
||
17 | * @var |
||
18 | */ |
||
19 | protected static $clientToken; |
||
20 | |||
21 | /** |
||
22 | * @param BraintreeConfig $config |
||
23 | */ |
||
24 | public function __construct(BraintreeConfig $config) |
||
25 | { |
||
26 | $this->config = $config; |
||
27 | } |
||
28 | |||
29 | /** |
||
30 | * @return string |
||
31 | */ |
||
32 | public function generateToken(): string |
||
46 | } |
||
47 | } |