public function fetchAll()
{
return iterator_to_array($this);
}
/** * @param int $limit * @param int $offset * @return array */ public function getData($limit = NULL, $offset = NULL) { if ($limit !== NULL) { $this->source->limit($limit, $offset); } return $this->source->fetchAll(); }