CreatesPotentiallyTranslatedStrings
trait CreatesPotentiallyTranslatedStrings (View source)
Properties
| protected Closure | $destructor | The callback to call when the object destructs. |
Methods
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.
Details
protected 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.
Laravel Cloud is the best place to deploy Laravel, Nuxt, Express, Hono, Node.js, Bun, Go, Flask, Python, and more, with dedicated infrastructure available on AWS through Laravel Private Cloud.