PHP Class Tolerance\Metrics\Collector\RabbitMq\RabbitMqHttpClient

Mostrar archivo Open project: Tolerance/Tolerance Class Usage Examples

Public Methods

Method Description
__construct ( GuzzleHttp\ClientInterface $httpClient, string $hostname, integer $port, string $user, string $password )
getQueue ( string $vhost, string $name, integer $interval = 30 ) : array

Method Details

__construct() public method

public __construct ( GuzzleHttp\ClientInterface $httpClient, string $hostname, integer $port, string $user, string $password )
$httpClient GuzzleHttp\ClientInterface
$hostname string
$port integer
$user string
$password string

getQueue() public method

public getQueue ( string $vhost, string $name, integer $interval = 30 ) : array
$vhost string
$name string
$interval integer
return array