ResizeFormListener::getSubscribedEvents()

static array getSubscribedEvents() Returns an array of event names this subscriber wants to listen to. The array keys are event names and the value can be: The method name to call (priority defaults to 0) An array composed of the method name to call and the priority An array of arrays composed of the method names to call and respective priorities, or 0 if unset For instance: array('eventName' => 'methodName') array('eventName' => array('methodName', $priority)) a

ResizeFormListener

class ResizeFormListener implements EventSubscriberInterface Resize a collection form element based on the data sent from the client. Methods __construct($type, array $options = array(), $allowAdd = false, $allowDelete = false, $deleteEmpty = false) static array getSubscribedEvents() Returns an array of event names this subscriber wants to listen to. preSetData(FormEvent $event) preSubmit(FormEvent $event) onSubmit(FormEvent $event) Details

ResizeFormListener::onSubmit()

onSubmit(FormEvent $event) Parameters FormEvent $event

ResizeFormListener::preSetData()

preSetData(FormEvent $event) Parameters FormEvent $event

ResetType

class ResetType extends AbstractType implements ButtonTypeInterface A reset button. Methods buildForm(FormBuilderInterface $builder, array $options) Builds the form. from AbstractType 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. from

ResettableContainerInterface

interface ResettableContainerInterface implements ContainerInterface ResettableContainerInterface defines additional resetting functionality for containers, allowing to release shared services when the container is not needed anymore. Methods set(string $id, object $service, string $scope = self::SCOPE_CONTAINER) Sets a service. from ContainerInterface object get(string $id, int $invalidBehavior = self::EXCEPTION_ON_INVALID_REFERENCE) Gets a service. from ContainerInterface bool

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

Required

class Required extends Existence Constants DEFAULT_GROUP The name of the group given to all constraints with no explicit group CLASS_CONSTRAINT Marks a constraint that can be put onto classes PROPERTY_CONSTRAINT Marks a constraint that can be put onto properties Properties mixed $payload Domain-specific data attached to a constraint from Constraint array $groups The groups that the constraint belongs to from Constraint $constraints from Existence Methods static string g

RequestValueResolver

class RequestValueResolver implements ArgumentValueResolverInterface Yields the same instance as the request object passed along. Methods bool supports(Request $request, ArgumentMetadata $argument) Whether this resolver can resolve the value for the given ArgumentMetadata. Generator resolve(Request $request, ArgumentMetadata $argument) Returns the possible value(s). Details bool supports(Request $request, ArgumentMetadata $argument) Whethe

RequestValueResolver::resolve()

Generator resolve(Request $request, ArgumentMetadata $argument) Returns the possible value(s). Parameters Request $request ArgumentMetadata $argument Return Value Generator