ResolveInvalidReferencesPass

class ResolveInvalidReferencesPass implements CompilerPassInterface Emulates the invalid behavior if the reference is not found within the container. Methods process(ContainerBuilder $container) Process the ContainerBuilder to resolve invalid references. Details process(ContainerBuilder $container) Process the ContainerBuilder to resolve invalid references. Parameters ContainerBuilder $container

ResolvedTypeFactoryDataCollectorProxy

class ResolvedTypeFactoryDataCollectorProxy implements ResolvedFormTypeFactoryInterface Proxy that wraps resolved types into {@link ResolvedTypeDataCollectorProxy} instances. Methods __construct(ResolvedFormTypeFactoryInterface $proxiedFactory, FormDataCollectorInterface $dataCollector) ResolvedFormTypeInterface createResolvedType(FormTypeInterface $type, array $typeExtensions, ResolvedFormTypeInterface $parent = null) Resolves a form type. Details

ResolvedTypeDataCollectorProxy::getTypeExtensions()

FormTypeExtensionInterface[] getTypeExtensions() Returns the extensions of the wrapped form type. Return Value FormTypeExtensionInterface[] An array of {@link FormTypeExtensionInterface} instances

ResolvedTypeDataCollectorProxy::getParent()

ResolvedFormTypeInterface|null getParent() Returns the parent type. Return Value ResolvedFormTypeInterface|null The parent type or null

ResolvedTypeDataCollectorProxy::getOptionsResolver()

OptionsResolver getOptionsResolver() Returns the configured options resolver used for this type. Return Value OptionsResolver The options resolver

ResolvedTypeDataCollectorProxy::getInnerType()

FormTypeInterface getInnerType() Returns the wrapped form type. Return Value FormTypeInterface The wrapped form type

ResolvedTypeDataCollectorProxy::getBlockPrefix()

string getBlockPrefix() Returns the prefix of the template block name for this type. Return Value string The prefix of the template block name

ResolvedTypeDataCollectorProxy::finishView()

finishView(FormView $view, FormInterface $form, array $options) Finishes a form view for the type hierarchy. It is called after the children of the view have been built. Parameters FormView $view The form view to configure FormInterface $form The form corresponding to the view array $options The options used for the configuration

ResolvedTypeDataCollectorProxy::createView()

FormView createView(FormInterface $form, FormView $parent = null) Creates a new form view for a form of this type. Parameters FormInterface $form The form to create a view for FormView $parent The parent view or null Return Value FormView The created form view

ResolvedTypeDataCollectorProxy::createBuilder()

FormBuilderInterface createBuilder(FormFactoryInterface $factory, string $name, array $options = array()) Creates a new form builder for this type. Parameters FormFactoryInterface $factory The form factory string $name The name for the builder array $options The builder options Return Value FormBuilderInterface The created form builder