PhpArrayAdapter
PhpArrayAdapter
class PhpArrayAdapter implements AdapterInterface
Caches items at warm up time using a PHP array that is stored in shared memory by OPCache since PHP 7.0.
Warmed up items are read-only and run-time discovered items are cached using a fallback adapter.
Methods
__construct(string $file, AdapterInterface $fallbackPool) | ||
static CacheItemPoolInterface | create(string $file, CacheItemPoolInterface $fallbackPool) This adapter should only be used on PHP |