CompilesTranslations
trait CompilesTranslations (View source)
Methods
string | compileLang(string $expression) Compile the lang statements into valid PHP. | |
string | compileEndlang() Compile the end-lang statements into valid PHP. | |
string | compileChoice(string $expression) Compile the choice statements into valid PHP. |
Details
protected string compileLang(string $expression)
Compile the lang statements into valid PHP.
protected string compileEndlang()
Compile the end-lang statements into valid PHP.
protected string compileChoice(string $expression)
Compile the choice statements into valid PHP.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.7/Illuminate/View/Compilers/Concerns/CompilesTranslations.html