PHP Class ApiPlatform\Core\Hydra\Serializer\EntrypointNormalizer

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\Metadata\Resource\Factory\ResourceMetadataFactoryInterface $resourceMetadataFactory, ApiPlatform\Core\Api\IriConverterInterface $iriConverter, ApiPlatform\Core\Api\UrlGeneratorInterface $urlGenerator )
normalize ( $object, $format = null, array $context = [] )
supportsNormalization ( $data, $format = null, array $context = [] )

Method Details

__construct() public méthode

public __construct ( ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface $resourceMetadataFactory, ApiPlatform\Core\Api\IriConverterInterface $iriConverter, ApiPlatform\Core\Api\UrlGeneratorInterface $urlGenerator )
$resourceMetadataFactory ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface
$iriConverter ApiPlatform\Core\Api\IriConverterInterface
$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, array $context = [] )
$context array