ButtonBuilder::getAction()

string getAction() Unsupported method. Return Value string The target URL of the form

ButtonBuilder::create()

FormBuilderInterface create(string $name, string|null $type = null, array $options = array()) Unsupported method. This method should not be invoked. Parameters string $name The name of the form or the name of the property string|null $type The type of the form or null if name is a property array $options The options Return Value FormBuilderInterface The created builder Exceptions BadMethodCallException

ButtonBuilder::count()

int count() Unsupported method. Return Value int Always returns 0

ButtonBuilder::all()

array all() Returns the children. Return Value array

ButtonBuilder::addViewTransformer()

FormConfigBuilderInterface addViewTransformer(DataTransformerInterface $viewTransformer, bool $forcePrepend = false) Unsupported method. This method should not be invoked. Parameters DataTransformerInterface $viewTransformer bool $forcePrepend if set to true, prepend instead of appending Return Value FormConfigBuilderInterface The configuration object Exceptions BadMethodCallException

ButtonBuilder::addModelTransformer()

FormConfigBuilderInterface addModelTransformer(DataTransformerInterface $modelTransformer, bool $forceAppend = false) Unsupported method. This method should not be invoked. Parameters DataTransformerInterface $modelTransformer bool $forceAppend if set to true, append instead of prepending Return Value FormConfigBuilderInterface The configuration object Exceptions BadMethodCallException

ButtonBuilder::addEventSubscriber()

FormConfigBuilderInterface addEventSubscriber(EventSubscriberInterface $subscriber) Unsupported method. This method should not be invoked. Parameters EventSubscriberInterface $subscriber The subscriber to attach Return Value FormConfigBuilderInterface The configuration object Exceptions BadMethodCallException

ButtonBuilder::addEventListener()

FormConfigBuilderInterface addEventListener(string $eventName, callable $listener, int $priority) Unsupported method. This method should not be invoked. Parameters string $eventName The name of the event to listen to callable $listener The listener to execute int $priority The priority of the listener. Listeners with a higher priority are called before listeners with a lower priority. Return Value FormConfigBuilderInterface The configuration object Exceptions BadMethodCallExce

ButtonBuilder::add()

FormBuilderInterface add(string|int|FormBuilderInterface $child, string|null $type = null, array $options = array()) Unsupported method. This method should not be invoked. Parameters string|int|FormBuilderInterface $child string|null $type array $options Return Value FormBuilderInterface The builder object Exceptions BadMethodCallException

ButtonBuilder

class ButtonBuilder implements IteratorAggregate, FormBuilderInterface A builder for {@link Button} instances. Methods __construct(string $name, array $options = array()) Creates a new button builder. FormBuilderInterface add(string|int|FormBuilderInterface $child, string|null $type = null, array $options = array()) Unsupported method. FormBuilderInterface create(string $name, string|null $type = null, array $options = array()) Unsupported method. FormBuilderInterface get(