TextType::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

TextType

class TextType extends AbstractType implements DataTransformerInterface 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 configureOptions(OptionsResolver $resolver) Configures the options for this type. string getBlockPrefix() Returns

TextDescriptor

class TextDescriptor extends Descriptor Text descriptor. Methods describe(OutputInterface $output, object $object, array $options = array()) Describes an InputArgument instance. from Descriptor Details describe(OutputInterface $output, object $object, array $options = array()) Describes an InputArgument instance. Parameters OutputInterface $output object $object array $options

TextDescriptor

class TextDescriptor extends Descriptor Methods describe(OutputInterface $output, object $object, array $options = array()) Describes an InputArgument instance. from Descriptor Details describe(OutputInterface $output, object $object, array $options = array()) Describes an InputArgument instance. Parameters OutputInterface $output object $object array $options

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 $path The path t

TextBundleWriter

class TextBundleWriter implements BundleWriterInterface Writes .txt resource bundles. The resulting files can be converted to binary .res files using a {@link \Symfony\Component\Intl\ResourceBundle\Compiler\BundleCompilerInterface} implementation. Methods write(string $path, string $locale, mixed $data, $fallback = true) Writes data to a resource bundle. Details write(string $path, string $locale, mixed $data, $fallback = true) Writes data to

TextareaType::getParent()

string|null getParent() Returns the name of the parent type. Return Value string|null The name of the parent type if any, null otherwise

TextareaType::getBlockPrefix()

string getBlockPrefix() Returns the prefix of the template block name for this type. The block prefix defaults to the underscored short class name with the "Type" suffix removed (e.g. "UserProfileType" => "user_profile"). Return Value string The prefix of the template block name

TextareaType::buildView()

buildView(FormView $view, FormInterface $form, array $options) Builds the form view. This method is called for each type in the hierarchy starting from the top most type. Type extensions can further modify the view. A view of a form is built before the views of the child forms are built. This means that you cannot access child views in this method. If you need to do so, move your logic to {@link finishView()} instead. Parameters FormView $view The view FormInterface $form The form

TextareaType

class TextareaType extends AbstractType Methods buildForm(FormBuilderInterface $builder, array $options) Builds the form. from AbstractType buildView(FormView $view, FormInterface $form, array $options) Builds the form view. finishView(FormView $view, FormInterface $form, array $options) Finishes the form view. from AbstractType configureOptions(OptionsResolver $resolver) Configures the options for this type. from AbstractType string getBlockPrefix() Returns the prefix of