Skip to content

Class Broker

Class \RdKafka\Metadata\Broker

Methods

__construct()

public __construct ( 
    int $id, 
    string $host, 
    int $port
 ): 
Parameters
id int
host string
port int

getHost()

public getHost (  ): string
Returns
string

getId()

public getId (  ): int
Returns
int

getPort()

public getPort (  ): int
Returns
int

Test Coverage 💚

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