public function getServerVersion($type) { $driver = $this->getConnection($type)->getWrappedConnection(); if ($driver instanceof ServerInfoAwareConnection) { return $driver->getServerVersion(); } return null; }