PHP Class ApiPlatform\Core\Hydra\Serializer\ConstraintViolationListNormalizer

Author: Kévin Dunglas ([email protected])
Inheritance: implements Symfony\Component\Serializer\Normalizer\NormalizerInterface
Afficher le fichier Open project: api-platform/core Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( ApiPlatform\Core\Api\UrlGeneratorInterface $urlGenerator )
normalize ( $object, $format = null, array $context = [] )
supportsNormalization ( $data, $format = null )

Method Details

__construct() public méthode

public __construct ( ApiPlatform\Core\Api\UrlGeneratorInterface $urlGenerator )
$urlGenerator ApiPlatform\Core\Api\UrlGeneratorInterface

normalize() public méthode

public normalize ( $object, $format = null, array $context = [] )
$context array

supportsNormalization() public méthode

public supportsNormalization ( $data, $format = null )