| Total Complexity | 2 |
| Total Lines | 21 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 7 | class NovaTextCard extends Card |
||
| 8 | { |
||
| 9 | |||
| 10 | public $component = 'nova-text-card'; |
||
| 11 | |||
| 12 | public $content = ''; |
||
| 13 | |||
| 14 | 1 | public function content(string $content): static |
|
| 15 | { |
||
| 16 | 1 | $this->content = $content; |
|
| 17 | |||
| 18 | 1 | return $this; |
|
| 19 | } |
||
| 20 | |||
| 21 | |||
| 22 | |||
| 23 | 1 | public function jsonSerialize(): array |
|
| 28 | } |
||
| 29 | } |
||
| 30 |