| Conditions | 1 |
| Paths | 1 |
| Total Lines | 20 |
| Code Lines | 15 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php declare(strict_types=1); |
||
| 42 | public static function getMetadata(): Metadata |
||
| 43 | { |
||
| 44 | return new Metadata( |
||
| 45 | 'Button', |
||
| 46 | 'Creates a button', |
||
| 47 | [ |
||
| 48 | new MetadataParameter( |
||
| 49 | static::TYPE, |
||
| 50 | 'string', |
||
| 51 | 'Button type, like "submit", "reset" or "button" . Default: "button"' |
||
| 52 | ), |
||
| 53 | new MetadataParameter( |
||
| 54 | static::READONLY, |
||
| 55 | 'boolean', |
||
| 56 | 'Is it readonly?' |
||
| 57 | ), |
||
| 58 | new MetadataParameter( |
||
| 59 | static::DISABLED, |
||
| 60 | 'boolean', |
||
| 61 | 'Is it disabled?' |
||
| 62 | ) |
||
| 67 |