trait InteractsWithRedis (View source)
void | setUpRedis() Setup redis connection. | |
void | tearDownRedis() Teardown redis connection. | |
array | redisDriverProvider() Get redis driver provider. | |
void | ifRedisAvailable(callable $callback) Run test if redis is available. |
Setup redis connection.
Teardown redis connection.
Get redis driver provider.
Run test if redis is available.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/8.x/Illuminate/Foundation/Testing/Concerns/InteractsWithRedis.html