Documentation

BuilderConfig
in package

Table of Contents

Methods

__construct()  : mixed
__invoke()  : array<string|int, mixed>
转数组
getArguments()  : array<string|int, mixed>
getBody()  : string
getCallback()  : callable
getConsumerTag()  : string
getExchange()  : string
getExchangeType()  : string
getHeaders()  : array<string|int, mixed>
getPrefetchCount()  : int
getPrefetchSize()  : int
getQueue()  : string
getRoutingKey()  : string
isAutoDelete()  : bool
isDurable()  : bool
isExclusive()  : bool
isGlobal()  : bool
isImmediate()  : bool
isInternal()  : bool
isMandatory()  : bool
isNoAck()  : bool
isNoLocal()  : bool
isNowait()  : bool
isPassive()  : bool
setArguments()  : void
setAutoDelete()  : void
setBody()  : void
setCallback()  : void
setConsumerTag()  : void
setDurable()  : void
setExchange()  : void
setExchangeType()  : void
setExclusive()  : void
setGlobal()  : void
setHeaders()  : void
setImmediate()  : void
setInternal()  : void
setMandatory()  : void
setNoAck()  : void
setNoLocal()  : void
setNowait()  : void
setPassive()  : void
setPrefetchCount()  : void
setPrefetchSize()  : void
setQueue()  : void
setRoutingKey()  : void

Methods

__construct()

public __construct([array<string|int, mixed> $config = [] ]) : mixed
Parameters
$config : array<string|int, mixed> = []

__invoke()

转数组

public __invoke() : array<string|int, mixed>
Return values
array<string|int, mixed>

getArguments()

public getArguments() : array<string|int, mixed>
Return values
array<string|int, mixed>

getCallback()

public getCallback() : callable
Return values
callable

getConsumerTag()

public getConsumerTag() : string
Return values
string

getExchange()

public getExchange() : string
Return values
string

getExchangeType()

public getExchangeType() : string
Return values
string

getHeaders()

public getHeaders() : array<string|int, mixed>
Return values
array<string|int, mixed>

getPrefetchCount()

public getPrefetchCount() : int
Return values
int

getPrefetchSize()

public getPrefetchSize() : int
Return values
int

getRoutingKey()

public getRoutingKey() : string
Return values
string

isAutoDelete()

public isAutoDelete() : bool
Return values
bool

isExclusive()

public isExclusive() : bool
Return values
bool

isImmediate()

public isImmediate() : bool
Return values
bool

isMandatory()

public isMandatory() : bool
Return values
bool

setArguments()

public setArguments(array<string|int, mixed> $arguments) : void
Parameters
$arguments : array<string|int, mixed>

setAutoDelete()

public setAutoDelete(bool $autoDelete) : void
Parameters
$autoDelete : bool

setBody()

public setBody(string $body) : void
Parameters
$body : string

setCallback()

public setCallback(callable $callback) : void
Parameters
$callback : callable

setConsumerTag()

public setConsumerTag(string $consumerTag) : void
Parameters
$consumerTag : string

setDurable()

public setDurable(bool $durable) : void
Parameters
$durable : bool

setExchange()

public setExchange(string $exchange) : void
Parameters
$exchange : string

setExchangeType()

public setExchangeType(string $exchangeType) : void
Parameters
$exchangeType : string

setExclusive()

public setExclusive(bool $exclusive) : void
Parameters
$exclusive : bool

setGlobal()

public setGlobal(bool $global) : void
Parameters
$global : bool

setHeaders()

public setHeaders(array<string|int, mixed> $headers) : void
Parameters
$headers : array<string|int, mixed>

setImmediate()

public setImmediate(bool $immediate) : void
Parameters
$immediate : bool

setInternal()

public setInternal(bool $internal) : void
Parameters
$internal : bool

setMandatory()

public setMandatory(bool $mandatory) : void
Parameters
$mandatory : bool

setNoAck()

public setNoAck(bool $noAck) : void
Parameters
$noAck : bool

setNoLocal()

public setNoLocal(bool $noLocal) : void
Parameters
$noLocal : bool

setNowait()

public setNowait(bool $nowait) : void
Parameters
$nowait : bool

setPassive()

public setPassive(bool $passive) : void
Parameters
$passive : bool

setPrefetchCount()

public setPrefetchCount(int $prefetchCount) : void
Parameters
$prefetchCount : int

setPrefetchSize()

public setPrefetchSize(int $prefetchSize) : void
Parameters
$prefetchSize : int

setQueue()

public setQueue(string $queue) : void
Parameters
$queue : string

setRoutingKey()

public setRoutingKey(string $routingKey) : void
Parameters
$routingKey : string

        
On this page

Search results