PercentToLocalizedStringTransformer::transform()

mixed transform(mixed $value)

Transforms between a normalized format (integer or float) into a percentage value.

Parameters

mixed $value The value in the original representation

Return Value

mixed The value in the transformed representation

Exceptions

TransformationFailedException If the given value is not numeric or if the value could not be transformed.
doc_Symfony
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.