( private string $thumbnailUrl, private string $title, private string $subline, private string $resourceUrl, private string $icon = '', private bool $rounded = false )
| 8 | |
| 9 | class SearchResultEntry implements \JsonSerializable { |
| 10 | public function __construct( |
| 11 | private string $thumbnailUrl, |
| 12 | private string $title, |
| 13 | private string $subline, |
| 14 | private string $resourceUrl, |
| 15 | private string $icon = '', |
| 16 | private bool $rounded = false |
| 17 | ) { |
| 18 | } |
| 19 | |
| 20 | public function jsonSerialize(): array { |
| 21 | return get_object_vars($this); |
nothing calls this directly
no outgoing calls
no test coverage detected