1 | <?php |
||
42 | class UnifiedSearchResult extends SearchResultEntry { |
||
43 | |||
44 | |||
45 | /** |
||
46 | * UnifiedSearchResult constructor. |
||
47 | * |
||
48 | * @param string $thumbnailUrl |
||
49 | * @param string $title |
||
50 | * @param string $subline |
||
51 | * @param string $resourceUrl |
||
52 | * @param string $icon |
||
53 | * @param bool $rounded |
||
54 | */ |
||
55 | public function __construct( |
||
62 | |||
63 | |||
64 | /** |
||
65 | * @return string |
||
66 | */ |
||
67 | public function getThumbnailUrl(): string { |
||
70 | |||
71 | /** |
||
72 | * @param string $thumbnailUrl |
||
73 | * |
||
74 | * @return UnifiedSearchResult |
||
75 | */ |
||
76 | public function setThumbnailUrl(string $thumbnailUrl): self { |
||
81 | |||
82 | |||
83 | /** |
||
84 | * @return string |
||
85 | */ |
||
86 | public function getTitle(): string { |
||
89 | |||
90 | /** |
||
91 | * @param string $title |
||
92 | * |
||
93 | * @return UnifiedSearchResult |
||
94 | */ |
||
95 | public function setTitle(string $title): self { |
||
100 | |||
101 | |||
102 | /** |
||
103 | * @return string |
||
104 | */ |
||
105 | public function getSubline(): string { |
||
108 | |||
109 | /** |
||
110 | * @param string $subline |
||
111 | * |
||
112 | * @return UnifiedSearchResult |
||
113 | */ |
||
114 | public function setSubline(string $subline): self { |
||
119 | |||
120 | |||
121 | /** |
||
122 | * @return string |
||
123 | */ |
||
124 | public function getResourceUrl(): string { |
||
127 | |||
128 | /** |
||
129 | * @param string $resourceUrl |
||
130 | * |
||
131 | * @return UnifiedSearchResult |
||
132 | */ |
||
133 | public function setResourceUrl(string $resourceUrl): self { |
||
138 | |||
139 | |||
140 | /** |
||
141 | * @return string |
||
142 | */ |
||
143 | public function getIcon(): string { |
||
146 | |||
147 | /** |
||
148 | * @param string $icon |
||
149 | * |
||
150 | * @return UnifiedSearchResult |
||
151 | */ |
||
152 | public function setIcon(string $icon): self { |
||
157 | |||
158 | |||
159 | /** |
||
160 | * @return bool |
||
161 | */ |
||
162 | public function isRounded(): bool { |
||
165 | |||
166 | /** |
||
167 | * @param bool $rounded |
||
168 | * |
||
169 | * @return UnifiedSearchResult |
||
170 | */ |
||
171 | public function setRounded(bool $rounded): self { |
||
176 | |||
177 | } |
||
178 | |||
179 |