Translations
in package
FinalYes
Holds the translator used for code labels and validation messages.
The Laravel integration replaces the default with a bridge to Laravel's translator.
Table of Contents
Methods
- reset() : void
- translator() : Translator
- use() : void
- version() : int
- Incremented whenever the translator is replaced, so that lazy registrations can detect it.
Methods
reset()
public
static reset() : void
translator()
public
static translator() : Translator
Return values
Translatoruse()
public
static use(Translator $translator) : void
Parameters
- $translator : Translator
version()
Incremented whenever the translator is replaced, so that lazy registrations can detect it.
public
static version() : int