SerializerExtractor
in package
implements
PropertyListExtractorInterface
Lists available properties using Symfony Serializer Component metadata.
Tags
Table of Contents
Interfaces
- PropertyListExtractorInterface
- Extracts the list of properties available for the given class.
Properties
- $classMetadataFactory : mixed
Methods
- __construct() : mixed
- getProperties() : array<string|int, string>|null
- Gets the list of properties available for the given class.
Properties
$classMetadataFactory
private
mixed
$classMetadataFactory
Methods
__construct()
public
__construct(ClassMetadataFactoryInterface $classMetadataFactory) : mixed
Parameters
- $classMetadataFactory : ClassMetadataFactoryInterface
getProperties()
Gets the list of properties available for the given class.
public
getProperties(string $class[, array<string|int, mixed> $context = [] ]) : array<string|int, string>|null
Parameters
- $class : string
- $context : array<string|int, mixed> = []