PlantumlServerRenderer
in package
implements
DiagramRenderer
FinalYes
Table of Contents
Interfaces
Properties
- $httpClient : HttpClientInterface
- $logger : LoggerInterface
- $plantumlServerUrl : string
Methods
- __construct() : mixed
- render() : string|null
Properties
$httpClient read-only
private
HttpClientInterface
$httpClient
$logger read-only
private
LoggerInterface
$logger
$plantumlServerUrl read-only
private
string
$plantumlServerUrl
Methods
__construct()
public
__construct(HttpClientInterface $httpClient, string $plantumlServerUrl, LoggerInterface $logger) : mixed
Parameters
- $httpClient : HttpClientInterface
- $plantumlServerUrl : string
- $logger : LoggerInterface
render()
public
render(RenderContext $renderContext, string $diagram) : string|null
Parameters
- $renderContext : RenderContext
- $diagram : string