class PropertyInfoExtractor implements PropertyInfoExtractorInterface, PropertyInitializableExtractorInterface

Default {see PropertyInfoExtractorInterface} implementation.

Methods

__construct(iterable $listExtractors = array(), iterable $typeExtractors = array(), iterable $descriptionExtractors = array(), iterable $accessExtractors = array(), iterable $initializableExtractors = array())

No description

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

Gets the list of properties available for the given class.

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

Gets the short description of the property.

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

Gets the long description of the property.

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?

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

Is the property initializable? Returns true if a constructor's parameter matches the given property name.

Details

at line 36
__construct(iterable $listExtractors = array(), iterable $typeExtractors = array(), iterable $descriptionExtractors = array(), iterable $accessExtractors = array(), iterable $initializableExtractors = array())

Parameters

iterable $listExtractors
iterable $typeExtractors
iterable $descriptionExtractors
iterable $accessExtractors
iterable $initializableExtractors

at line 48
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

at line 56
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

at line 64
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

at line 72
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

at line 80
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

at line 88
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

at line 96
bool|null isInitializable(string $class, string $property, array $context = array())

Is the property initializable? Returns true if a constructor's parameter matches the given property name.

Parameters

string $class
string $property
array $context

Return Value

bool|null