class PropertyInfoCacheExtractor implements PropertyInfoExtractorInterface
Adds a PSR-6 cache layer on top of an extractor.
Methods
__construct(PropertyInfoExtractorInterface $propertyInfoExtractor, CacheItemPoolInterface $cacheItemPool) | ||
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? | |
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. | |
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. |
Details
__construct(PropertyInfoExtractorInterface $propertyInfoExtractor, CacheItemPoolInterface $cacheItemPool)
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?
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.
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.
Please login to continue.