The code of the `delPrefix()` function could be inlined and surrounded by `if ($this->proceedingAllowed()) { ... }` (see https://github.com/snc/SncRedisBundle/blob/master/Command/RedisFlushallCommand.php#L39).