PHP Class ApiPlatform\Core\Problem\Serializer\ErrorNormalizer

See also: https://tools.ietf.org/html/rfc7807
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 ( boolean $debug = false )
normalize ( $object, $format = null, array $context = [] )
supportsNormalization ( $data, $format = null )

Method Details

__construct() public method

public __construct ( boolean $debug = false )
$debug boolean

normalize() public method

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

supportsNormalization() public method

public supportsNormalization ( $data, $format = null )