Guides

PlantumlRenderer
in package
implements DiagramRenderer

FinalYes

Table of Contents

Interfaces

DiagramRenderer

Properties

$logger  : LoggerInterface
$plantUmlBinaryPath  : string
$tempDirectory  : string

Methods

__construct()  : mixed
render()  : string|null
ensureDirectoryExists()  : bool
Ensures the directory exists, handling race conditions safely.

Properties

Methods

__construct()

public __construct(LoggerInterface $logger, string $plantUmlBinaryPath[, string|null $tempDirectory = null ]) : mixed
Parameters
$logger : LoggerInterface
$plantUmlBinaryPath : string
$tempDirectory : string|null = null

ensureDirectoryExists()

Ensures the directory exists, handling race conditions safely.

private ensureDirectoryExists(string $directory) : bool
Parameters
$directory : string
Return values
bool

True if directory exists or was created, false on failure


        
On this page

Search results