getIteratorArray()); } /** * Returns the count of the iterator array. * * @return int */ public function count() { return count($this->getIteratorArray()); } /** * Returns the array to be used the the iterator. * * @return array */ abstract protected function getIteratorArray(); }