| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 22 | protected function execute(InputInterface $input, OutputInterface $output) |
||
| 23 | { |
||
| 24 | /** @var \Redis $redis */ |
||
| 25 | $redis = $this->getContainer()->get('snc_redis.default'); |
||
| 26 | $redis->del(RedisClientInterface::ID_USERNAME_HASH); |
||
| 27 | $redis->del(RedisClientInterface::ID_SESSION_HASH); |
||
| 28 | $redis->del(RedisClientInterface::SESSION_ID_HASH); |
||
| 29 | $redis->del(RedisClientInterface::ONLINE_LIST); |
||
| 30 | |||
| 31 | $output->writeln('Данные удалены из redis'); |
||
| 32 | } |
||
| 33 | } |
||
| 34 |