| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 8 |
| CRAP Score | 1 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 75 | 2 | public function __construct($name, $label, $type = self::TEXT_TYPE, $value = null, $data = array(), $url = null, $required = true) |
|
| 76 | { |
||
| 77 | 2 | $this->name = $name; |
|
| 78 | 2 | $this->label = $label; |
|
| 79 | 2 | $this->type = $type; |
|
| 80 | 2 | $this->value = $value; |
|
| 81 | 2 | $this->data = $data; |
|
| 82 | 2 | $this->url = $url; |
|
| 83 | 2 | $this->required = $required; |
|
| 84 | } |
||
| 86 |