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::disableBackup()

disableBackup() Disables dumper backup.

TranslationWriter::getFormats()

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

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

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 $

TranslationType::getName()

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

TranslationType::setDefaultOptions()

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

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

TranslationsCacheWarmer::isOptional()

bool isOptional() Checks whether this warmer is optional or not. Optional warmers can be ignored on certain conditions. A warmer should return true if the cache can be generated incrementally and on-demand. Return Value bool true if the warmer is optional, false otherwise

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