| Total Complexity | 3 |
| Total Lines | 15 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 6 | trait getConfigSettings |
||
| 7 | { |
||
| 8 | public function getConfigSettings() { |
||
| 9 | if (!property_exists($this, 'accessToken')) { |
||
| 10 | throw new \Exception('Property $accessToken does not exist'); |
||
| 11 | } |
||
| 12 | $environment = $this->accessToken->getEnvironment(); |
||
| 13 | $config = new Config($environment); |
||
| 14 | return $config; |
||
| 15 | } |
||
| 16 | |||
| 17 | public function getCurlDebugIsEnable() { |
||
| 21 | |||
| 22 | } |
||
| 24 | } |