| Name | Size | Mode | Actions |
|---|---|---|---|
| AbstractAdapter.php | 8084 | 0644 | editdlrm |
| AbstractTagAwareAdapter.php | 12589 | 0644 | editdlrm |
| AdapterInterface.php | 986 | 0644 | editdlrm |
| ApcuAdapter.php | 3316 | 0644 | editdlrm |
| ArrayAdapter.php | 11106 | 0644 | editdlrm |
| ChainAdapter.php | 8876 | 0644 | editdlrm |
| CouchbaseBucketAdapter.php | 7711 | 0644 | editdlrm |
| DoctrineAdapter.php | 2584 | 0644 | editdlrm |
| FilesystemAdapter.php | 933 | 0644 | editdlrm |
| FilesystemTagAwareAdapter.php | 7584 | 0644 | editdlrm |
| MemcachedAdapter.php | 13752 | 0644 | editdlrm |
| NullAdapter.php | 2738 | 0644 | editdlrm |
| ParameterNormalizer.php | 898 | 0644 | editdlrm |
| PdoAdapter.php | 22064 | 0644 | editdlrm |
| PhpArrayAdapter.php | 12590 | 0644 | editdlrm |
| PhpFilesAdapter.php | 10246 | 0644 | editdlrm |
| ProxyAdapter.php | 8306 | 0644 | editdlrm |
| Psr16Adapter.php | 1901 | 0644 | editdlrm |
| RedisAdapter.php | 1024 | 0644 | editdlrm |
| RedisTagAwareAdapter.php | 11793 | 0644 | editdlrm |
| TagAwareAdapter.php | 11578 | 0644 | editdlrm |
| TagAwareAdapterInterface.php | 785 | 0644 | editdlrm |
| TraceableAdapter.php | 6919 | 0644 | editdlrm |
| TraceableTagAwareAdapter.php | 926 | 0644 | editdlrm |
/var/www/cobraambalaj/vendor/symfony/cache/Adapter/Psr16Adapter.php (1901B)
*/ class Psr16Adapter extends AbstractAdapter implements PruneableInterface, ResettableInterface { /** * @internal */ protected const NS_SEPARATOR = '_'; use ProxyTrait; private $miss; public function __construct(CacheInterface $pool, string $namespace = '', int $defaultLifetime = 0) { parent::__construct($namespace, $defaultLifetime); $this->pool = $pool; $this->miss = new \stdClass(); } /** * {@inheritdoc} */ protected function doFetch(array $ids) { foreach ($this->pool->getMultiple($ids, $this->miss) as $key => $value) { if ($this->miss !== $value) { yield $key => $value; } } } /** * {@inheritdoc} */ protected function doHave(string $id) { return $this->pool->has($id); } /** * {@inheritdoc} */ protected function doClear(string $namespace) { return $this->pool->clear(); } /** * {@inheritdoc} */ protected function doDelete(array $ids) { return $this->pool->deleteMultiple($ids); } /** * {@inheritdoc} */ protected function doSave(array $values, int $lifetime) { return $this->pool->setMultiple($values, 0 === $lifetime ? null : $lifetime); } }