trait
Illuminate
/
Foundation
/
Testing
/
Concerns
/
InteractsWithRedis
InteractsWithRedis
Properties
private
static
$connectionFailedOnceWithDefaultsSkip bool
Indicate connection failed if redis is not available.
Default: false
private
$redis Illuminate\...\RedisManager[]
Redis manager instance.
Default: null
Methods
public
setUpRedis ( ) : void
Setup redis connection.
public
tearDownRedis ( ) : void
Teardown redis connection.
public
static
redisDriverProvider ( ) : array
Get redis driver provider.
public
ifRedisAvailable ( $callback ) : void
Run test if redis is available.
Parameters
- $callback callable