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>getBody()
public
getBody() : string
Return values
stringgetCallback()
public
getCallback() : callable
Return values
callablegetConsumerTag()
public
getConsumerTag() : string
Return values
stringgetExchange()
public
getExchange() : string
Return values
stringgetExchangeType()
public
getExchangeType() : string
Return values
stringgetHeaders()
public
getHeaders() : array<string|int, mixed>
Return values
array<string|int, mixed>getPrefetchCount()
public
getPrefetchCount() : int
Return values
intgetPrefetchSize()
public
getPrefetchSize() : int
Return values
intgetQueue()
public
getQueue() : string
Return values
stringgetRoutingKey()
public
getRoutingKey() : string
Return values
stringisAutoDelete()
public
isAutoDelete() : bool
Return values
boolisDurable()
public
isDurable() : bool
Return values
boolisExclusive()
public
isExclusive() : bool
Return values
boolisGlobal()
public
isGlobal() : bool
Return values
boolisImmediate()
public
isImmediate() : bool
Return values
boolisInternal()
public
isInternal() : bool
Return values
boolisMandatory()
public
isMandatory() : bool
Return values
boolisNoAck()
public
isNoAck() : bool
Return values
boolisNoLocal()
public
isNoLocal() : bool
Return values
boolisNowait()
public
isNowait() : bool
Return values
boolisPassive()
public
isPassive() : bool
Return values
boolsetArguments()
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