W3cubDocs

/Symfony 4.1

Symfony\Component\Form\Extension\Core\DataTransformer

Classes

ArrayToPartsTransformer
BaseDateTimeTransformer
BooleanToStringTransformer Transforms between a Boolean and a string.
ChoiceToValueTransformer
ChoicesToValuesTransformer
DataTransformerChain Passes a value through multiple value transformers.
DateIntervalToArrayTransformer Transforms between a normalized date interval and an interval string/array.
DateIntervalToStringTransformer Transforms between a date string and a DateInterval object.
DateTimeImmutableToDateTimeTransformer Transforms between a DateTimeImmutable object and a DateTime object.
DateTimeToArrayTransformer Transforms between a normalized time and a localized time string/array.
DateTimeToHtml5LocalDateTimeTransformer
DateTimeToLocalizedStringTransformer Transforms between a normalized time and a localized time string.
DateTimeToRfc3339Transformer
DateTimeToStringTransformer Transforms between a date string and a DateTime object.
DateTimeToTimestampTransformer Transforms between a timestamp and a DateTime object.
DateTimeZoneToStringTransformer Transforms between a timezone identifier string and a DateTimeZone object.
IntegerToLocalizedStringTransformer Transforms between an integer and a localized number with grouping (each thousand) and comma separators.
MoneyToLocalizedStringTransformer Transforms between a normalized format and a localized money string.
NumberToLocalizedStringTransformer Transforms between a number type and a localized number with grouping (each thousand) and comma separators.
PercentToLocalizedStringTransformer Transforms between a normalized format (integer or float) and a percentage value.
ValueToDuplicatesTransformer

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/Form/Extension/Core/DataTransformer.html