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 getType(string $class, string $property, array $context = []) : ?Symfony\Component\TypeInfo\Type
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 = []
private readonly Psr\Cache\CacheItemPoolInterface $cacheItemPool
private readonly 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