BundleReaderInterface
BundleReaderInterface
interface BundleReaderInterface
Reads resource bundle files.
Methods
mixed | read(string $path, string $locale) Reads a resource bundle. | |
string[] | getLocales(string $path) Reads the available locales of a resource bundle. |
Details
mixed read(string $path, string $locale)
Reads a resource bundle.
Parameters
string | $path | The path to the resource bundle. |
string | $locale | The locale to read. |
Return Value
mix
|