Adds a PSR-6 cache layer on top of an extractor.
- author Kévin Dunglas
- final
CloneableInstantiable
- Implements
| Methods |
| public __construct(Symfony |
| 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 |
| 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 |
| Methods |
| private extract(string $method, array $arguments) : ?mixed Retrieves the cached data if applicable or delegates to the decorated extractor. |