public function getDriver()
{
return $this->driver;
}
/** * CacheReader constructor. */ public function __construct(Pool $pool) { if ($pool->getDriver() instanceof Ephemeral) { throw new InvalidCacheDriverException("Ephemeral cannot be used as a cache driver in this app"); } $this->pool = $pool; }