The RdKafka\Metadata\Collection class

(PECL rdkafka >= 0.9.1)

Introduction

The Collection class is used as a collection of metadata items. It implements Countable and Iterable, so it can be used with count() and foreach.

Class synopsis

class RdKafka\Metadata\Collection implements Countable, Iterator {
/* Methods */
public count(): int
public current(): mixed
public key(): scalar
public next(): void
public rewind(): void
public valid(): boolean
}

Table of Contents