PHP Class ApiPlatform\Core\Hydra\Serializer\ConstraintViolationListNormalizer

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

Public Methods

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

Method Details

__construct() public method

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

normalize() public method

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

supportsNormalization() public method

public supportsNormalization ( $data, $format = null )