InteractsWithRedis
trait InteractsWithRedis (View source)
Методы
| void | setUpRedis()
Настройка подключения к redis. | |
| void | tearDownRedis()
Разрушение подключения к redis. | |
| static array | redisDriverProvider()
Получение поставщика драйвера redis. | |
| void | ifRedisAvailable(callable $callback)
Запуск теста, если redis доступен. |
Подробности
void setUpRedis()
Настройка подключения к redis.
void tearDownRedis()
Разрушение подключения к redis.
static array redisDriverProvider()
Получение поставщика драйвера redis.
void ifRedisAvailable(callable $callback)
Запуск теста, если redis доступен.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/11.x/Illuminate/Foundation/Testing/Concerns/InteractsWithRedis.html