class PropertyInfoCacheExtractor implements PropertyInfoExtractorInterface, PropertyInitializableExtractorInterface

Adds a PSR-6 cache layer on top of an extractor.

Methods

__construct(PropertyInfoExtractorInterface $propertyInfoExtractor, CacheItemPoolInterface $cacheItemPool)

No description

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?

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.

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

Gets the list of properties available for the given class.

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

Gets types of a property.

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

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

Details

at line 29
__construct(PropertyInfoExtractorInterface $propertyInfoExtractor, CacheItemPoolInterface $cacheItemPool)

Parameters

PropertyInfoExtractorInterface $propertyInfoExtractor
CacheItemPoolInterface $cacheItemPool

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

Is the property readable?

Parameters

string $class
string $property
array $context

Return Value

bool|null

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

Is the property writable?

Parameters

string $class
string $property
array $context

Return Value

bool|null

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

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

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

Gets the list of properties available for the given class.

Parameters

string $class
array $context

Return Value

string[]|null

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

Gets types of a property.

Parameters

string $class
string $property
array $context

Return Value

Type[]|null

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

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