Normalizes {@see Number} and {@see \GMP} to a string.
CloneableFinalInstantiable
Constants |
Methods |
public denormalize(?mixed $data, string $type, ?string $format = NULL, array $context = []) : BcMath\Number|GMP
|
public getSupportedTypes(?string $format) : array |
public normalize(?mixed $data, ?string $format = NULL, array $context = []) : string |
public supportsDenormalization(?mixed $data, string $type, ?string $format = NULL, array $context = []) : bool |
public supportsNormalization(?mixed $data, ?string $format = NULL, array $context = []) : bool |
Methods |
private createNotNormalizableValueException(string $type, ?mixed $data, array $context, ?Throwable $previous = NULL) : Symfony |