SerializerExtractor

class SerializerExtractor implements PropertyListExtractorInterface

Lists available properties using Symfony Serializer Component metadata.

Methods

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

Gets the list of properties available for the given class.

Details

__construct(ClassMetadataFactoryInterface $classMetadataFactory)

Parameters

ClassMetadataFactoryInterface $classMetadataFactory

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

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/4.0/Symfony/Component/PropertyInfo/Extractor/SerializerExtractor.html