W3cubDocs

/Symfony 4.1

PropertyTypeExtractorInterface

interface PropertyTypeExtractorInterface

Type Extractor Interface.

Methods

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

Gets types of a property.

Details

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

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/PropertyInfo/PropertyTypeExtractorInterface.html