RedisAdapter
        
        extends AbstractAdapter
    
    
            
            in package
            
        
    
    
            
            Uses
                            RedisTrait                    
    
        
        
Table of Contents
- $apcuSupported : mixed
 - $phpFilesSupported : mixed
 - __construct() : mixed
 - commit() : bool
 - {@inheritdoc}
 - createConnection() : mixed
 - createSystemCache() : AdapterInterface
 - Returns the best possible adapter that your runtime supports.
 
Properties
$apcuSupported
    private
    static    mixed
    $apcuSupported
    
        
        
    
$phpFilesSupported
    private
    static    mixed
    $phpFilesSupported
    
        
        
    
Methods
__construct()
    public
                    __construct(Redis|RedisArray|RedisCluster|ClientInterface $redisClient[, string $namespace = '' ], int $defaultLifetime[, MarshallerInterface $marshaller = null ]) : mixed
    
        Parameters
- $redisClient : Redis|RedisArray|RedisCluster|ClientInterface
 - 
                    
The redis client
 - $namespace : string = ''
 - 
                    
The default namespace
 - $defaultLifetime : int
 - 
                    
The default lifetime
 - $marshaller : MarshallerInterface = null
 
Return values
mixed —commit()
{@inheritdoc}
    public
                    commit() : bool
    
    
    
        Return values
bool —createConnection()
    public
            static        createConnection(string $dsn[, array<string|int, mixed> $options = [] ]) : mixed
        
        Parameters
- $dsn : string
 - $options : array<string|int, mixed> = []
 
Return values
mixed —createSystemCache()
Returns the best possible adapter that your runtime supports.
    public
            static        createSystemCache(string $namespace, int $defaultLifetime, string $version, string $directory[, LoggerInterface $logger = null ]) : AdapterInterface
        Using ApcuAdapter makes system caches compatible with read-only filesystems.
Parameters
- $namespace : string
 - $defaultLifetime : int
 - $version : string
 - $directory : string
 - $logger : LoggerInterface = null