(PECL rdkafka >= 0.9.1)
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.