/** * Return the low-level thrift client. * * @return cassandra_CassandraClient */ public function getClient() { return $this->cluster->getConnection()->getClient(); }
/** * @expectedException CassandraConnectionFailedException */ public function testClusterGetConnectionThrowsExceptionIfNoServersAdded() { $cluster = new CassandraCluster(); $cluster->getConnection(); }