\Symfony\Component\PropertyInfo\ExtractorSerializerExtractor

Lists available properties using Symfony Serializer Component metadata.

Summary

Methods
Properties
Constants
__construct()
getProperties()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$classMetadataFactory
N/A

Properties

$classMetadataFactory

$classMetadataFactory

Methods

__construct()

__construct(\Symfony\Component\Serializer\Mapping\Factory\ClassMetadataFactoryInterface  $classMetadataFactory) : mixed

Parameters

\Symfony\Component\Serializer\Mapping\Factory\ClassMetadataFactoryInterface $classMetadataFactory

Returns

mixed —

getProperties()

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

Gets the list of properties available for the given class.

Parameters

string $class
array $context

Returns

string[]|null —