class Psr6Cache implements CacheInterface
PSR-6 adapter.
Methods
__construct(CacheItemPoolInterface $cacheItemPool) | ||
has(string $class) Returns whether metadata for the given class exists in the cache. | ||
ClassMetadata|false | read(string $class) Returns the metadata for the given class from the cache. | |
write(ClassMetadata $metadata) Stores a class metadata in the cache. |
Details
__construct(CacheItemPoolInterface $cacheItemPool)
has(string $class)
Returns whether metadata for the given class exists in the cache.
ClassMetadata|false read(string $class)
Returns the metadata for the given class from the cache.
write(ClassMetadata $metadata)
Stores a class metadata in the cache.
Please login to continue.