Skip to content

Class Event

Class \RdKafka\Event

Methods

__construct()

public __construct ( 
    \FFI\CData $event
 ): 
Parameters
event \FFI\CData

__destruct()

public __destruct (  ): 

error()

public error (  ): int
Returns
int

errorIsFatal()

public errorIsFatal (  ): bool
Returns
bool

errorString()

public errorString (  ): string
Returns
string

getCData()

public getCData (  ): mixed
Returns
mixed

name()

public name (  ): string
Returns
string

type()

public type (  ): int
Returns
int

Test Coverage 💛

  • 💛 Lines: 90% (9 / 10)
  • 💛 Methods: 87.5% (7 / 8)