PHP Class ApiPlatform\Core\Hydra\Serializer\ErrorNormalizer

Author: Kévin Dunglas ([email protected])
Author: Samuel ROZE ([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, boolean $debug = false )
normalize ( $object, $format = null, array $context = [] )
supportsNormalization ( $data, $format = null )

Method Details

__construct() public method

public __construct ( ApiPlatform\Core\Api\UrlGeneratorInterface $urlGenerator, boolean $debug = false )
$urlGenerator ApiPlatform\Core\Api\UrlGeneratorInterface
$debug boolean

normalize() public method

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

supportsNormalization() public method

public supportsNormalization ( $data, $format = null )