|
| __construct (HttpRequestFactory $requestFactory, ?string $ssrServerUrl, $ssrServerTimeout, LoggerInterface $logger, StatsdDataFactoryInterface $stats) |
|
| getContent (EntityId $entityId, $revision, $language, $editLink, TermLanguageFallbackChain $preferredLanguages) |
| - Parameters
-
EntityId | $entityId | |
int | $revision | |
string | $language | |
string | $editLink | |
TermLanguageFallbackChain | $preferredLanguages | |
- Returns
- string
- Exceptions
-
|
|
- Copyright
- GPL-2.0-or-later
◆ __construct()
Wikibase\View\Termbox\Renderer\TermboxRemoteRenderer::__construct |
( |
HttpRequestFactory | $requestFactory, |
|
|
?string | $ssrServerUrl, |
|
|
| $ssrServerTimeout, |
|
|
LoggerInterface | $logger, |
|
|
StatsdDataFactoryInterface | $stats ) |
◆ formatUrl()
Wikibase\View\Termbox\Renderer\TermboxRemoteRenderer::formatUrl |
( |
EntityId | $entityId, |
|
|
| $revision, |
|
|
| $language, |
|
|
| $editLink, |
|
|
TermLanguageFallbackChain | $preferredLanguages ) |
|
private |
◆ getContent()
Wikibase\View\Termbox\Renderer\TermboxRemoteRenderer::getContent |
( |
EntityId | $entityId, |
|
|
| $revision, |
|
|
| $language, |
|
|
| $editLink, |
|
|
TermLanguageFallbackChain | $preferredLanguages ) |
◆ getLanguageCodes()
◆ getRequestParams()
Wikibase\View\Termbox\Renderer\TermboxRemoteRenderer::getRequestParams |
( |
EntityId | $entityId, |
|
|
| $revision, |
|
|
| $language, |
|
|
| $editLink, |
|
|
TermLanguageFallbackChain | $preferredLanguages ) |
|
private |
◆ reportFailureOfRequest()
Wikibase\View\Termbox\Renderer\TermboxRemoteRenderer::reportFailureOfRequest |
( |
| $message, |
|
|
?Exception | $exception = null ) |
|
private |
◆ $logger
Wikibase\View\Termbox\Renderer\TermboxRemoteRenderer::$logger |
|
private |
◆ $requestFactory
Wikibase\View\Termbox\Renderer\TermboxRemoteRenderer::$requestFactory |
|
private |
◆ $ssrServerTimeout
Wikibase\View\Termbox\Renderer\TermboxRemoteRenderer::$ssrServerTimeout |
|
private |
◆ $ssrServerUrl
Wikibase\View\Termbox\Renderer\TermboxRemoteRenderer::$ssrServerUrl |
|
private |
◆ $stats
Wikibase\View\Termbox\Renderer\TermboxRemoteRenderer::$stats |
|
private |
◆ HTTP_STATUS_OK
const Wikibase\View\Termbox\Renderer\TermboxRemoteRenderer::HTTP_STATUS_OK = 200 |
The documentation for this class was generated from the following file: