Copied!

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

CloneableInstantiable
Methods
public __construct(Symfony\Component\PropertyInfo\PropertyInfoExtractorInterface $propertyInfoExtractor, Psr\Cache\CacheItemPoolInterface $cacheItemPool)
public getLongDescription(string $class, string $property, array $context = []) : ?string
public getProperties(string $class, array $context = []) : ?array
public getShortDescription(string $class, string $property, array $context = []) : ?string
public getTypes(string $class, string $property, array $context = []) : ?array
public isInitializable(string $class, string $property, array $context = []) : ?bool
public isReadable(string $class, string $property, array $context = []) : ?bool
public isWritable(string $class, string $property, array $context = []) : ?bool
Properties
private array $arrayCache = []
privatereadonly Psr\Cache\CacheItemPoolInterface $cacheItemPool
privatereadonly Symfony\Component\PropertyInfo\PropertyInfoExtractorInterface $propertyInfoExtractor
Methods
private extract(string $method, array $arguments) : ?mixed
 

Retrieves the cached data if applicable or delegates to the decorated extractor.

© 2024 Bruce Wells
Search Namespaces \ Classes
Configuration