OptionsResolverInterface deprecated::addAllowedTypes()

OptionsResolverInterface addAllowedTypes(array $allowedTypes) Adds allowed types for a list of options. The types are merged with the allowed types defined previously. Parameters array $allowedTypes A list of option names as keys and type names passed as string or array as values. Return Value OptionsResolverInterface The resolver instance. Exceptions InvalidOptionsException If an option has not been defined for which an allowed type is set.

Client::restart()

restart() Restarts the client. It flushes history and all cookies.

PackageInterface deprecated

interface PackageInterface deprecated since 2.7, will be removed in 3.0. Use the Asset component instead. Asset package interface. Methods string getVersion() Returns the asset package version. string getUrl(string $path, string|bool|null $version = null) Returns an absolute or root-relative public path. Details string getVersion() Returns the asset package version. Return Value string The version string str

ChoicesToBooleanArrayTransformer deprecated

class ChoicesToBooleanArrayTransformer implements DataTransformerInterface deprecated since version 2.7, to be removed in 3.0. Use {@link \Symfony\Component\Form\ChoiceList\LazyChoiceList} instead. Methods __construct(ChoiceListInterface $choiceList) mixed transform(mixed $array) Transforms an array of choices to a format appropriate for the nested checkboxes/radio buttons. mixed reverseTransform(mixed $values) Transforms a checkbox/radio button array to an array of choices.

ProgressIndicator

class ProgressIndicator Methods __construct(OutputInterface $output, string|null $format = null, int $indicatorChangeInterval = 100, array|null $indicatorValues = null) setMessage(string|null $message) Sets the current indicator message. start($message) Starts the indicator output. advance() Advances the indicator. finish($message) Finish the indicator with message. static string|null getFormatDefinition(string $name) Gets the format for a given name. static

PropertyMetadataInterface deprecated

interface PropertyMetadataInterface implements MetadataInterface deprecated since version 2.5, to be removed in 3.0. Use {@link Mapping\PropertyMetadataInterface} instead. A container for validation metadata of a property. What exactly you define as "property" is up to you. The validator expects implementations of {@link MetadataInterface} that contain constraints and optionally a list of named properties that also have constraints (and may have further sub properties). Such properties a

TaggedContainerInterface

interface TaggedContainerInterface implements ContainerInterface TaggedContainerInterface is the interface implemented when a container knows how to deals with tags. 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 has(string $id) Returns true if the given service is defined. from C

RequestDataCollector::getRequestHeaders()

getRequestHeaders()

Form::offsetGet()

FormInterface offsetGet(string $name) Returns the child with the given name (implements the \ArrayAccess interface). Parameters string $name The name of the child Return Value FormInterface The child form Exceptions OutOfBoundsException If the named child does not exist.

EmailType

class EmailType extends AbstractType 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 AbstractType string getBlockPrefix() Returns