/** * Gathers info from the server. * * @param string $section * @return array */ public function info($section = '') { try { return $this->connection->info($section); } catch (Exception $e) { return $this->handleException($e, __FUNCTION__, func_get_args()); } }
/** * Gathers info from the server. * @param string $section * @return array */ public function info($section = '') { $this->appendToLog('INFO ' . $section); return $this->connection->info($section); }
/** * Test getting the info */ public function testInfo() { $this->assertEmpty($this->redis->info()); $this->assertNotEmpty($this->redis->info('clients')); }