interface PropertyInfoExtractorInterface implementsPropertyTypeExtractorInterface,PropertyDescriptionExtractorInterface,PropertyAccessExtractorInterface,PropertyListExtractorInterface

Gets info about PHP class properties.

A convenient interface inheriting all specific info interfaces.

Methods

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

Gets types of a property.

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

Gets the short description of the property.

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

Gets the long description of the property.

bool|null
isReadable(string$class,string$property,array$context =[])

Is the property readable?

bool|null
isWritable(string$class,string$property,array$context =[])

Is the property writable?

array|null
getProperties(string$class,array$context =[])

Gets the list of properties available for the given class.

Details

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

Gets types of a property.

Parameters

string $class
string $property
array $context

Return Value

array|null

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

Gets the short description of the property.

Parameters

string $class
string $property
array $context

Return Value

string|null

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

Gets the long description of the property.

Parameters

string $class
string $property
array $context

Return Value

string|null

bool|null isReadable(string$class,string$property,array$context =[])

Is the property readable?

Parameters

string $class
string $property
array $context

Return Value

bool|null

bool|null isWritable(string$class,string$property,array$context =[])

Is the property writable?

Parameters

string $class
string $property
array $context

Return Value

bool|null

array|null getProperties(string$class,array$context =[])

Gets the list of properties available for the given class.

Parameters

string $class
array $context

Return Value

array|null