JsonBundleReader

class JsonBundleReader implements BundleReaderInterface

Reads .json resource bundles.

Methods

mixed read(string $path, string $locale)

Reads 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

mixed Returns an array or {@link \ArrayAccess} instance for complex data, a scalar value otherwise.
doc_Symfony
2016-10-28 06:21:53
Comments
Leave a Comment

Please login to continue.