class SerializerExtractor implements PropertyListExtractorInterface

Lists available properties using Symfony Serializer Component metadata.

Methods

__construct(ClassMetadataFactoryInterface $classMetadataFactory)

No description

string[]|null
getProperties(string $class, array $context = array())

Gets the list of properties available for the given class.

Details

at line line 29
__construct(ClassMetadataFactoryInterface $classMetadataFactory)

Parameters

ClassMetadataFactoryInterface $classMetadataFactory

at line line 37
string[]|null getProperties(string $class, array $context = array())

Gets the list of properties available for the given class.

Parameters

string $class
array $context

Return Value

string[]|null