PropertyInfoExtractorInterface

interface PropertyInfoExtractorInterface implements PropertyTypeExtractorInterface, PropertyDescriptionExtractorInterface, PropertyAccessExtractorInterface, PropertyListExtractorInterface

Gets info about PHP class properties.

A convenient interface inheriting all specific info interfaces.

Methods

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

Gets types of a property.

from PropertyTypeExtractorInterface
string|null getShortDescription(string $class, string $property, array $context = array())

Gets the short description of the property.

from PropertyDescriptionExtractorInterface
string|null getLongDescription(string $class, string $property, array $context = array())

Gets the long description of the property.

from PropertyDescriptionExtractorInterface
bool|null isReadable(string $class, string $property, array $context = array())

Is the property readable?

from PropertyAccessExtractorInterface
bool|null isWritable(string $class, string $property, array $context = array())

Is the property writable?

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

Gets the list of properties available for the given class.

from PropertyListExtractorInterface

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

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

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 = array())

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 = array())

Is the property readable?

Parameters

string $class
string $property
array $context

Return Value

bool|null

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

Is the property writable?

Parameters

string $class
string $property
array $context

Return Value

bool|null

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

Gets the list of properties available for the given class.

Parameters

string $class
array $context

Return Value

string[]|null
doc_Symfony
2016-10-28 06:27:53
Comments
Leave a Comment

Please login to continue.