NormalizerInterface::supportsNormalization()

bool supportsNormalization(mixed $data, string $format = null)

Checks whether the given class is supported for normalization by this normalizer.

Parameters

mixed $data Data to normalize
string $format The format being (de-)serialized from or into

Return Value

bool
doc_Symfony
2016-10-28 06:24:41
Comments
Leave a Comment

Please login to continue.