class DoctrineExtractor implements PropertyListExtractorInterface, PropertyTypeExtractorInterface

Extracts data using Doctrine ORM and ODM metadata.

Methods

__construct(EntityManagerInterface $entityManager)

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

__construct(EntityManagerInterface $entityManager)

Parameters

EntityManagerInterface $entityManager

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

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