Conditions | 1 |
Paths | 1 |
Total Lines | 12 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
35 | public function __toString() |
||
36 | { |
||
37 | $info = [ |
||
38 | 'endpoint' => $this->Endpoint, |
||
39 | 'protocol' => $this->Protocol, |
||
40 | 'filterTag' => $this->FilterTag, |
||
41 | 'notifyStrategy' => $this->NotifyStrategy, |
||
42 | 'notifyContentFormat' => $this->NotifyContentFormat, |
||
43 | 'bindingKey' => $this->bindingKey, |
||
44 | ]; |
||
45 | |||
46 | return json_encode($info); |
||
47 | } |
||
49 |