Translations::factory()
Creates a translations collection from an array of translation data
Translations::factory(array $translations): Translations
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
| $translationsrequired | array<string, array> |
no default value | Translation strings by locale |