MCPcopy Create free account
hub / github.com/Rello/analytics / __construct

Method __construct

tests/Stubs/OCP/Search/SearchResultEntry.php:10–18  ·  view source on GitHub ↗
(
		private string $thumbnailUrl,
		private string $title,
		private string $subline,
		private string $resourceUrl,
		private string $icon = '',
		private bool $rounded = false
	)

Source from the content-addressed store, hash-verified

8
9class 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);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected