trait InteractsWithRedis (View source)

Methods

void
setUpRedis()

Setup redis connection.

void
tearDownRedis()

Teardown redis connection.

static array
redisDriverProvider()

Get redis driver provider.

void
ifRedisAvailable(callable $callback)

Run test if redis is available.

Details

void setUpRedis()

Setup redis connection.

Return Value

void

void tearDownRedis()

Teardown redis connection.

Return Value

void

static array redisDriverProvider()

Get redis driver provider.

Return Value

array

void ifRedisAvailable(callable $callback)

Run test if redis is available.

Parameters

callable $callback

Return Value

void

Laravel Cloud is the best place to deploy Laravel, Nuxt, Express, Hono, Node.js, Bun, Go, Flask, Python, and more, with dedicated infrastructure available on AWS through Laravel Private Cloud.