| Conditions | 3 |
| Paths | 4 |
| Total Lines | 7 |
| Code Lines | 5 |
| Lines | 7 |
| Ratio | 100 % |
| Tests | 6 |
| CRAP Score | 3 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 32 | 9 | public function __construct(array $config) |
|
| 33 | { |
||
| 34 | 9 | $this->name = $config['name']; |
|
| 35 | 9 | $this->type = $config['type']; |
|
| 36 | 9 | $this->description = isset($config['description']) ? $config['description'] : NULL; |
|
| 37 | 9 | $this->defaultValue = isset($config['defaultValue']) ? $config['defaultValue'] : NULL; |
|
| 38 | 9 | } |
|
| 39 | |||
| 76 |