Symfony\Component\Intl\ResourceBundle\Writer\TextBundleWriter
Writes .txt resource bundles.
The resulting files can be converted to binary .res files using the
{@link \Symfony\Component\Intl\ResourceBundle\Transformer\BundleCompiler}.
- Author: Bernhard Schussek <bschussek@gmail.com>
Synopsis
class TextBundleWriter
implements
BundleWriterInterface
{
- // methods
- public void write()
- private void writeResourceBundle()
- private void writeResource()
- private void writeInteger()
- private void writeIntVector()
- private void writeString()
- private void writeArray()
- private void writeTable()
Hierarchy
Methods
private
- writeArray() — Writes an "array" node.
- writeIntVector() — Writes an "intvector" node.
- writeInteger() — Writes an "integer" node.
- writeResource() — Writes a "resource" node.
- writeResourceBundle() — Writes a "resourceBundle" node.
- writeString() — Writes a "string" node.
- writeTable() — Writes a "table" node.
public
- write() — {@inheritdoc}