W3cubDocs

/Symfony 4.1

PhpBundleWriter

class PhpBundleWriter implements BundleWriterInterface

Writes .php resource bundles.

Methods

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

Writes data to a resource bundle.

Details

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

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/Intl/Data/Bundle/Writer/PhpBundleWriter.html