| Conditions | 2 |
| Paths | 2 |
| Total Lines | 10 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 38 | public function __construct($params){ |
||
| 39 | //echo Json::encode($params); |
||
| 40 | if(is_null($params)) |
||
| 41 | return; |
||
| 42 | $this->label = data_get($params,'label'); |
||
| 43 | $this->archived = data_get($params,'archived'); |
||
| 44 | $this->xpriv = data_get($params,'xpriv'); |
||
| 45 | $this->xpub = data_get($params,'xpub'); |
||
| 46 | $this->addresslabels = data_get($params,'addresslabels',array()); |
||
| 47 | $this->cahce = new Cache(data_get($params,'cache')); |
||
| 48 | } |
||
| 60 |