*/ public function count() { return (int) $this->getNumRows(); } /** * {@inheritdoc} */ public function getIterator() { $this->customStorage = new \Phacil\Framework\Databases\Object\ResultIterator($this->rows); return $this->customStorage; //return new \ArrayIterator($this->loop($this->rows)); } }