Total Complexity | 4 |
Total Lines | 20 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
4 | class easyCrypto { |
||
5 | private array $settings = []; |
||
6 | |||
7 | public function setApiKey (string $api_key): self { |
||
8 | $this->settings['api_key'] = $api_key; |
||
9 | return $this; |
||
10 | } |
||
11 | |||
12 | public function setIpnSecret (string $ipn_secret): self { |
||
13 | $this->settings['ipn_secret'] = $ipn_secret; |
||
14 | return $this; |
||
15 | } |
||
16 | |||
17 | public function setRoundDecimal (int $round_decimal): self { |
||
18 | $this->settings['round_decimal'] = $round_decimal; |
||
19 | return $this; |
||
20 | } |
||
21 | |||
22 | public function getSettings (): array { |
||
24 | } |
||
25 | } |