/** * iterator over the listing * object * @return a CollectionIterator */ public function listIterator() { $args = Ensure::input(func_get_args()); /** * collection * iterator should point * to our collection */ return new CollectionIterator($this, $args->get()); }