| Conditions | 3 |
| Paths | 2 |
| Total Lines | 22 |
| Code Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 8 |
| CRAP Score | 3.0123 |
| Changes | 0 | ||
| 1 | <?php |
||
| 55 | } |
||
| 56 | |||
| 57 | /** |
||
| 58 | * @return $this |
||
| 59 | */ |
||
| 60 | 2 | public function setClientConfig() |
|
| 61 | { |
||
| 62 | $clientArray = [ |
||
| 63 | 2 | 'End' => $this->End, |
|
| 64 | 2 | 'Elapse' => $this->Elapse, |
|
| 65 | ]; |
||
| 66 | |||
| 67 | 2 | $this->client_config = ArrayData::create($this->encodeArrayValues($clientArray)); |
|
| 68 | |||
| 69 | 2 | return $this; |
|
| 70 | } |
||
| 71 | |||
| 72 | /** |
||
| 73 | * @return ArrayData |
||
| 74 | */ |
||
| 75 | 2 | public function getClientConfig() |
|
| 76 | { |
||
| 77 | 2 | if (!$this->client_config) { |
|
| 97 |