class DoctrineExtractor implements PropertyListExtractorInterface, PropertyTypeExtractorInterface
Extracts data using Doctrine ORM and ODM metadata.
| __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. |
| ClassMetadataFactory | $classMetadataFactory |
Gets the list of properties available for the given class.
| string | $class | |
| array | $context |
| string[]|null |
Gets types of a property.
| string | $class | |
| string | $property | |
| array | $context |
| Type[]|null |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Bridge/Doctrine/PropertyInfo/DoctrineExtractor.html