MinuteTransformer deprecated

class MinuteTransformer extends MinuteTransformer deprecated since version 2.3, to be removed in 3.0. Use {@link \Symfony\Component\Intl\DateFormatter\DateFormat\MinuteTransformer} instead. Alias of {@link \Symfony\Component\Intl\DateFormatter\DateFormat\MinuteTransformer}. Methods string format(DateTime $dateTime, int $length) Format a value using a configured DateTime as date/time source. from MinuteTransformer string getReverseMatchingRegExp(int $length) Returns a reverse matc

FormConfigBuilder::setByReference()

FormConfigBuilderInterface setByReference(bool $byReference) Sets whether the form's data should be modified by reference. Parameters bool $byReference Whether the data should be modified by reference. Return Value FormConfigBuilderInterface The configuration object

PropertyAccessorInterface::getValue()

mixed getValue(object|array $objectOrArray, string|PropertyPathInterface $propertyPath) Returns the value at the end of the property path of the object graph. Example: use Symfony\Component\PropertyAccess\PropertyAccess; $propertyAccessor = PropertyAccess::createPropertyAccessor(); echo $propertyAccessor->getValue($object, 'child.name); // equals echo $object->getChild()->getName(); This method first tries to find a public getter for each property in the path. The nam

ChoicesToValuesTransformer::reverseTransform()

mixed reverseTransform(array $array) Parameters array $array Return Value mixed The value in the original representation Exceptions TransformationFailedException If the given value is not an array or if no matching choice could be found for some given value.

Process::getEnhanceSigchildCompatibility()

bool getEnhanceSigchildCompatibility() Returns whether sigchild compatibility mode is activated or not. Return Value bool

LanguageType

class LanguageType 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. string getBlockPrefix() Returns the prefix of

RegisterListenersPass deprecated

class RegisterListenersPass extends RegisterListenersPass deprecated since version 2.5, to be removed in 3.0. Use the Symfony\Component\EventDispatcher\DependencyInjection\RegisterListenersPass class instead. Compiler pass to register tagged services for an event dispatcher. Methods __construct(string $dispatcherService = 'event_dispatcher', string $listenerTag = 'kernel.event_listener', string $subscriberTag = 'kernel.event_subscriber') Constructor. from RegisterListenersPass pr

FormConfigBuilderInterface::setDataMapper()

FormConfigBuilderInterface setDataMapper(DataMapperInterface $dataMapper = null) Sets the data mapper used by the form. Parameters DataMapperInterface $dataMapper Return Value FormConfigBuilderInterface The configuration object

TimeType

class TimeType extends AbstractType Methods buildForm(FormBuilderInterface $builder, array $options) Builds the form. 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. string getBlockPrefix() Returns the prefix of the template block name for this type.

SessionInterface::registerBag()

registerBag(SessionBagInterface $bag) Registers a SessionBagInterface with the session. Parameters SessionBagInterface $bag