public function getActiveConnections() { return $this->activeConnections ? iterator_to_array($this->activeConnections, false) : array(); }