| Conditions | 1 |
| Paths | 1 |
| Total Lines | 16 |
| Code Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 20 | public function getAttributes() |
||
| 21 | { |
||
| 22 | $attributes = [ |
||
| 23 | 'class' => $this->extraClass(), |
||
| 24 | 'id' => $this->ID(), |
||
| 25 | 'name' => $this->getName(), |
||
| 26 | 'value' => $this->Value(), |
||
| 27 | 'data-schema' => json_encode($this->getSchemaData()), |
||
| 28 | 'data-state' => json_encode($this->getSchemaState()), |
||
| 29 | ]; |
||
| 30 | |||
| 31 | $attributes = array_merge($attributes, $this->attributes); |
||
| 32 | |||
| 33 | $this->extend('updateAttributes', $attributes); |
||
| 34 | |||
| 35 | return $attributes; |
||
| 36 | } |
||
| 38 |