ReflectionExtractor
class ReflectionExtractor implements PropertyListExtractorInterface, PropertyTypeExtractorInterface, PropertyAccessExtractorInterface
Extracts PHP informations using the reflection API.
Properties
static string[] | $mutatorPrefixes | ||
static string[] | $accessorPrefixes | ||
static array[] | $arrayMutatorPrefixes |
Methods
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?
Details
at line line 50
string[]|null
getProperties(string $class, array $context = array())
Gets the list of properties available for the given class.
at line line 76
Type[]|null
getTypes(string $class, string $property, array $context = array())
Gets types of a property.
at line line 90
bool|null
isReadable(string $class, string $property, array $context = array())
Is the property readable?
at line line 104
bool|null
isWritable(string $class, string $property, array $context = array())
Is the property writable?