class ReflectionExtractor implements PropertyListExtractorInterface, PropertyTypeExtractorInterface, PropertyAccessExtractorInterface
Extracts data using the reflection API.
| static | $defaultMutatorPrefixes | ||
| static | $defaultAccessorPrefixes | ||
| static | $defaultArrayMutatorPrefixes |
| __construct(array $mutatorPrefixes = null, array $accessorPrefixes = null, array $arrayMutatorPrefixes = null, bool $enableConstructorExtraction = true) | ||
| 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. | |
| bool|null | isReadable(string $class, string $property, array $context = array()) Is the property readable? | |
| bool|null | isWritable(string $class, string $property, array $context = array()) Is the property writable? |
| array | $mutatorPrefixes | |
| array | $accessorPrefixes | |
| array | $arrayMutatorPrefixes | |
| bool | $enableConstructorExtraction |
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 |
Is the property readable?
| string | $class | |
| string | $property | |
| array | $context |
| bool|null |
Is the property writable?
| string | $class | |
| string | $property | |
| array | $context |
| bool|null |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/PropertyInfo/Extractor/ReflectionExtractor.html