SubmitType

class SubmitType extends AbstractType implements SubmitButtonTypeInterface A submit button. 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 Abstract

SubmitButtonTypeInterface

interface SubmitButtonTypeInterface implements FormTypeInterface A type that should be converted into a {@link SubmitButton} instance. Methods buildForm(FormBuilderInterface $builder, array $options) Builds the form. from FormTypeInterface buildView(FormView $view, FormInterface $form, array $options) Builds the form view. from FormTypeInterface finishView(FormView $view, FormInterface $form, array $options) Finishes the form view. from FormTypeInterface setDefaultOptions(Opt

SubmitButtonBuilder

class SubmitButtonBuilder extends ButtonBuilder A builder for {@link SubmitButton} instances. Methods __construct(string $name, array $options = array()) Creates a new button builder. from ButtonBuilder FormBuilderInterface add(string|integer|FormBuilderInterface $child, string|FormTypeInterface $type = null, array $options = array()) Unsupported method. from ButtonBuilder FormBuilderInterface create(string $name, string|FormTypeInterface $type = null, array $options = array()) U

SubmitButton::isClicked()

bool isClicked() Returns whether this element was clicked. Return Value bool Whether this element was clicked

SubmitButton::submit()

FormInterface submit(null|string|array $submittedData, bool $clearMissing = true) Submits data to the button. Parameters null|string|array $submittedData The submitted data bool $clearMissing Whether to set fields to NULL when they are missing in the submitted data. Return Value FormInterface The form instance Exceptions AlreadySubmittedException If the form has already been submitted.

SubmitButton

class SubmitButton extends Button implements ClickableInterface A button that submits the form. Methods __construct(FormConfigInterface $config) Creates a new button from a form configuration. from Button bool offsetExists(mixed $offset) Unsupported method. from Button offsetGet(mixed $offset) Unsupported method. from Button offsetSet(mixed $offset, mixed $value) Unsupported method. from Button offsetUnset(mixed $offset) Unsupported method. from Button FormInterface s

StyleInterface::warning()

warning(string|array $message) Formats an warning result bar. Parameters string|array $message

StyleInterface::table()

table(array $headers, array $rows) Formats a table. Parameters array $headers array $rows

StyleInterface::text()

text(string|array $message) Formats informational text. Parameters string|array $message

StyleInterface::title()

title(string $message) Formats a command title. Parameters string $message