ALLOW_PRIVATE
ALLOW_PRIVATE = 1
Extracts data using the reflection API.
__construct(string[]|null $mutatorPrefixes = null, string[]|null $accessorPrefixes = null, string[]|null $arrayMutatorPrefixes = null, bool $enableConstructorExtraction = true, int $accessFlags = self::ALLOW_PUBLIC, \Symfony\Component\String\Inflector\InflectorInterface $inflector = null, int $magicMethodsFlags = self::ALLOW_MAGIC_GET | self::ALLOW_MAGIC_SET) : mixed
| string[]|null | $mutatorPrefixes | |
| string[]|null | $accessorPrefixes | |
| string[]|null | $arrayMutatorPrefixes | |
| bool | $enableConstructorExtraction | |
| int | $accessFlags | |
| \Symfony\Component\String\Inflector\InflectorInterface | $inflector | |
| int | $magicMethodsFlags |
getReadInfo(string $class, string $property, array $context = []) : ?\Symfony\Component\PropertyInfo\PropertyReadInfo
Get read information object for a given property of a class.
| string | $class | |
| string | $property | |
| array | $context |
getWriteInfo(string $class, string $property, array $context = []) : ?\Symfony\Component\PropertyInfo\PropertyWriteInfo
Get write information object for a given property of a class.
| string | $class | |
| string | $property | |
| array | $context |
findAdderAndRemover(\ReflectionClass $reflClass, array $singulars) : array
Searches for add and remove methods.
| \ReflectionClass | $reflClass | The reflection class for the given object |
| array | $singulars | The singular form of the property name or null |
An array containing the adder and remover when found and errors