DoctrineExtractor

class DoctrineExtractor implements PropertyListExtractorInterface, PropertyTypeExtractorInterface

Extracts data using Doctrine ORM and ODM metadata.

Methods

__construct(ClassMetadataFactory $classMetadataFactory)
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(ClassMetadataFactory $classMetadataFactory)

Parameters

ClassMetadataFactory $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

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

Please login to continue.