public function testConfig($config) { if (!@$config['servers']) { throw new \Exception('No redis servers set.'); } if (!class_exists('\\Redis')) { throw new \Exception('The module Redis is not activated in your PHP environment.'); } return true; }