TextBundleWriter

TextBundleWriter

class TextBundleWriter implements BundleWriterInterface

Writes .txt resource bundles.

The resulting files can be converted to binary .res files using the {@link \Symfony\Component\Intl\ResourceBundle\Transformer\BundleCompiler}.

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登录查看完整内容