ManagesTranslations

trait ManagesTranslations (View source)

Properties

protected array $translationReplacements The translation replacements for the translation being rendered.

Methods

void startTranslation(array $replacements = [])

Start a translation block.

string renderTranslation()

Render the current translation.

Details

void startTranslation(array $replacements = [])

Start a translation block.

Parameters

array $replacements

Return Value

void

string renderTranslation()

Render the current translation.

Return Value

string

© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.7/Illuminate/View/Concerns/ManagesTranslations.html