| Total Complexity | 2 |
| Total Lines | 19 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php declare(strict_types=1); |
||
| 11 | class Spinner extends Element |
||
| 12 | { |
||
| 13 | public function render(array $parameters, HTMLNode $previous): HTMLNode |
||
| 14 | { |
||
| 15 | return HTMLNode::factory( |
||
| 16 | 'button', |
||
| 17 | [ |
||
| 18 | 'class' => 'button is-loading', |
||
| 19 | 'disabled' |
||
| 20 | ] |
||
| 21 | ); |
||
| 22 | } |
||
| 23 | |||
| 24 | public static function getMetadata(): Metadata |
||
| 30 | ] |
||
| 31 | ); |
||
| 34 |