*/ public function count(): int { return (int) $this->getNumRows(); } /** * {@inheritdoc} */ public function getIterator(): \Traversable { $this->loop($this->rows); return $this->data; //return new \ArrayIterator($this->loop($this->rows)); } }