Documentation

ManagesTranslations

Table of Contents

$translationReplacements  : array<string|int, mixed>
The translation replacements for the translation being rendered.
renderTranslation()  : string
Render the current translation.
startTranslation()  : void
Start a translation block.

Properties

$translationReplacements

The translation replacements for the translation being rendered.

protected array<string|int, mixed> $translationReplacements = []

Methods

renderTranslation()

Render the current translation.

public renderTranslation() : string
Return values
string

startTranslation()

Start a translation block.

public startTranslation([array<string|int, mixed> $replacements = [] ]) : void
Parameters
$replacements : array<string|int, mixed> = []
Return values
void

Search results