| Total Complexity | 4 |
| Total Lines | 25 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 5 | class Framework extends \Formularium\Framework |
||
| 6 | { |
||
| 7 | public static function counter() |
||
| 11 | } |
||
| 12 | |||
| 13 | public function __construct(string $name = 'HTML') |
||
| 16 | } |
||
| 17 | |||
| 18 | public function viewableCompose(\Formularium\Model $m, array $elements, string $previousCompose): string |
||
| 19 | { |
||
| 20 | return join('', array_map(function ($e) { |
||
| 21 | return $e->__toString(); |
||
| 22 | }, $elements)); |
||
| 23 | } |
||
| 24 | |||
| 25 | public function editableCompose(\Formularium\Model $m, array $elements, string $previousCompose): string |
||
| 30 | } |
||
| 31 | } |
||
| 32 |