| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 45 | public function __construct(array $data) |
||
| 46 | { |
||
| 47 | $this->class = $data['class'] ?? $data['value']; |
||
| 48 | |||
| 49 | $this->ignore = (array) ($data['ignore'] ?? []); |
||
| 50 | $this->refLimit = (int) ($data['refLimit'] ?? 1); |
||
| 51 | $this->allowExtra = (bool) ($data['allowExtra'] ?? true); |
||
| 52 | $this->constructorArgs = (array) ($data['constructorArgs'] ?? []); |
||
| 53 | |||
| 54 | $this->param = $data['param'] ?? 'data'; |
||
| 55 | } |
||
| 87 |