Skip to content

Class Collection

Class \RdKafka\Metadata\Collection

  • implements \Iterator
  • implements \Countable

Methods

__construct()

public __construct ( 
    array $items = []
 ): 
Parameters
items array

count()

public count (  ): int
Returns
int

current()

public current (  ): mixed
Returns
mixed

key()

public key (  ): int
Returns
int

next()

public next (  ): void

rewind()

public rewind (  ): void

valid()

public valid (  ): bool
Returns
bool

Test Coverage 💚

  • 💚 Lines: 100% (7 / 7)
  • 💚 Methods: 100% (7 / 7)