ResourcePool
class ResourcePool extends BaseResourcePool
ResourcePool class.
This class acts as a registry for current objects managed by the Client. It also abstracts access to objects stored in cache.
Methods
__construct(JsonDecoderClientInterface $client, CacheItemPoolInterface $cacheItemPool, bool $autoWarmup = \false, bool $cacheContent = \false)
No description
has(string $type, string $id, array $options = [])
{@inheritdoc}
save(ResourceInterface $resource)
{@inheritdoc}
get(string $type, string $id, array $options = [])
{@inheritdoc}
generateKey(string $type, string $id, array $options = [])
{@inheritdoc}
Details
at line 83
__construct(JsonDecoderClientInterface $client, CacheItemPoolInterface $cacheItemPool, bool $autoWarmup = \false, bool $cacheContent = \false)
at line 130
has(string $type, string $id, array $options = [])
{@inheritdoc}
at line 141
save(ResourceInterface $resource)
{@inheritdoc}
at line 171
get(string $type, string $id, array $options = [])
{@inheritdoc}
at line 192
generateKey(string $type, string $id, array $options = [])
{@inheritdoc}