public function __construct(QueryBuilder $queryBuilder, $perIteration, $offset = 0)
 {
     parent::__construct($perIteration);
     $this->setQueryBuilder($queryBuilder);
     $this->setOffset($offset);
     $this->setInitialOffset($offset);
 }
 public function __construct(AuthenticatedNotificationHandlerInterface $handler, $perIteration, $offset = 0)
 {
     parent::__construct($perIteration);
     $this->handler = $handler;
     $this->setOffset($offset);
     $this->setInitialOffset($offset);
     $this->current();
 }