TranslationWriter::getFormats()

array getFormats() Obtains the list of supported formats. Return Value array

TranslationWriter::disableBackup()

disableBackup() Disables dumper backup.

TranslationWriter::addDumper()

addDumper(string $format, DumperInterface $dumper) Adds a dumper to the writer. Parameters string $format The format of the dumper DumperInterface $dumper The dumper

TranslationWriter

class TranslationWriter TranslationWriter writes translation messages. Methods addDumper(string $format, DumperInterface $dumper) Adds a dumper to the writer. disableBackup() Disables dumper backup. array getFormats() Obtains the list of supported formats. writeTranslations(MessageCatalogue $catalogue, string $format, array $options = array()) Writes translation from the catalogue according to the selected format. Details addDumper(string $

TranslationUpdateCommand

class TranslationUpdateCommand extends ContainerAwareCommand A command that parses templates to extract translation messages and adds them into the translation files. Methods __construct(string|null $name = null) Constructor. from Command ignoreValidationErrors() Ignores validation errors. from Command setApplication(Application $application = null) Sets the application instance for this command. from Command setHelperSet(HelperSet $helperSet) Sets the helper set. from Comma

TranslationType::setDefaultOptions()

setDefaultOptions(OptionsResolverInterface $resolver) Sets the default options for this type. Parameters OptionsResolverInterface $resolver The resolver for the options.

TranslationType::getName()

string getName() Returns the name of this type. Return Value string The name of this type

TranslationType::buildForm()

buildForm(FormBuilderInterface $builder, array $options) Builds the form. This method is called for each type in the hierarchy starting from the top most type. Type extensions can further modify the form. Parameters FormBuilderInterface $builder The form builder array $options The options

TranslationType

class TranslationType extends AbstractType Translation type class Methods buildForm(FormBuilderInterface $builder, array $options) Builds the form. buildView(FormView $view, FormInterface $form, array $options) Builds the form view. from AbstractType finishView(FormView $view, FormInterface $form, array $options) Finishes the form view. from AbstractType setDefaultOptions(OptionsResolverInterface $resolver) Sets the default options for this type. string|null|FormTypeInter

TranslationsCacheWarmer::warmUp()

warmUp(string $cacheDir) Warms up the cache. Parameters string $cacheDir The cache directory