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
doc_Symfony
2016-10-28 06:31:51
Comments
Leave a Comment

Please login to continue.