class JsonBundleWriter implements BundleWriterInterface

Writes .json resource bundles.

Methods

write(string $path, string $locale, mixed $data)

Writes data to a resource bundle.

Details

at line 26
write(string $path, string $locale, mixed $data)

Writes data to a resource bundle.

Parameters

string $path The path to the resource bundle
string $locale The locale to (over-)write
mixed $data The data to write