trait CreatesPotentiallyTranslatedStrings (View source)
| protected Closure | $destructor | The callback to call when the object destructs. |
| PotentiallyTranslatedString | pendingPotentiallyTranslatedString(string $attribute, string|null $message)
Create a pending potentially translated string. | |
| __construct(string $message, Translator $translator, Closure $destructor)
Create a new pending potentially translated string. | ||
| void | __destruct()
Handle the object's destruction. |
Create a pending potentially translated string.
Create a new pending potentially translated string.
Handle the object's destruction.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/11.x/Illuminate/Translation/CreatesPotentiallyTranslatedStrings.html