| Total Complexity | 2 |
| Total Lines | 12 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php declare(strict_types=1); |
||
| 9 | class Renderable_constant extends Renderable |
||
| 10 | { |
||
| 11 | const HTML = 'CONSTANT_HTML'; |
||
| 12 | |||
| 13 | public function viewable($value, Field $field, HTMLElement $previous): HTMLElement |
||
| 14 | { |
||
| 15 | return $this->container(HTMLElement::factory('', [], self::HTML, true), $field); |
||
| 16 | } |
||
| 17 | |||
| 18 | public function editable($value, Field $field, HTMLElement $previous): HTMLElement |
||
| 21 | } |
||
| 22 | } |
||
| 23 |