trait
Illuminate
/
View
/
Concerns
/
ManagesTranslations
You're browsing the documentation for an upcoming version of Laravel. The documentation and features of this release are subject to change.
ManagesTranslations
Properties
protected
$translationReplacements array
The translation replacements for the translation being rendered.
Default: []
Methods
public
startTranslation ( $replacements ) : void
Start a translation block.
Parameters
- $replacements array
public
renderTranslation ( ) : string
Render the current translation.