LabelBag
FinalYes
Table of Contents
Properties
- $arguments : array<int, string>
- $key : string
Methods
- __construct() : mixed
- compile() : string
- Compiles the given label key and substituted label arguments if given.
Properties
$arguments read-only
public
array<int, string>
$arguments
$key read-only
public
string
$key
Methods
__construct()
public
__construct(string $key, string ...$arguments) : mixed
Parameters
- $key : string
-
e.g.
LLL:EXT:core/Resources/Private/Language/Labels.xlf:HelloWorld
- $arguments : string
-
optional label arguments to be substituted
compile()
Compiles the given label key and substituted label arguments if given.
public
compile(LanguageService $languageService) : string
Parameters
- $languageService : LanguageService