LimitIterator::__construct Construye un nuevo objeto LimitIterator &reftitle.description; public LimitIterator::__construct Iteratoriterator intoffset0 intlimit-1 Construye un nuevo objeto LimitIterator desde iterator con un offset y un límite máximo limit &reftitle.parameters; iterator El Iterator a limitar. offset Posición opcional del límite. limit Número opcional del límite. &reftitle.errors; Lanza una ValueError si offset es inferior a 0 o si limit es inferior a -1. &reftitle.changelog; &Version; &Description; 8.0.0 Ahora lanza una excepción ValueError cuando offset es inferior a 0 ; Anteriormente, se lanzaba una RuntimeException. 8.0.0 Ahora lanza una excepción ValueError cuando limit es inferior a -1 ; Anteriormente, se lanzaba una RuntimeException. &reftitle.examples; Ejemplo <function>LimitIterator::__construct</function> ]]> &example.outputs; &reftitle.seealso; Ejemplos LimitIterator