/** * Return the connection for this cursor. * * @deprecated 1.1 Will be removed for 2.0 * @return Connection */ public function getConnection() { return $this->collection->getDatabase()->getConnection(); }