Skip to content

Class ErrorCallbackProxy

Class \RdKafka\FFI\ErrorCallbackProxy

Methods

__invoke()

public __invoke ( 
    \FFI\CData $consumerOrProducer, 
    int $err, 
    string $reason, 
    ?\FFI\CData $opaque = null
 ): void
Parameters
consumerOrProducer \FFI\CData
err int
reason string
opaque ?\FFI\CData

Test Coverage 💚

  • 💚 Lines: 100% (6 / 6)
  • 💚 Methods: 100% (1 / 1)