trait Illuminate / View / Concerns / ManagesTranslations
You are viewing an older version of the documentation. For the latest, please visit master documentation.

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.