class DoctrineExtractor implements PropertyListExtractorInterface, PropertyTypeExtractorInterface

Extracts data using Doctrine ORM and ODM metadata.

Methods

__construct(ClassMetadataFactory $classMetadataFactory)

No description

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

Gets the list of properties available for the given class.

Type[]|null
getTypes(string $class, string $property, array $context = array())

Gets types of a property.

Details

at line line 33
__construct(ClassMetadataFactory $classMetadataFactory)

Parameters

ClassMetadataFactory $classMetadataFactory

at line line 41
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

at line line 55
Type[]|null getTypes(string $class, string $property, array $context = array())

Gets types of a property.

Parameters

string $class
string $property
array $context

Return Value

Type[]|null