TransportPoolProxy
class TransportPoolProxy extends PoolProxy implements Stringable, TransportInterface
Methods
__construct(PoolDefinition $definition, Closure $createCallback, Factory $pools, Closure|null $releaseCallback = null)
Create a proxy that resolves its current pool per operation.
from
PoolProxy
mixed
invoke(string $method, array $arguments)
Invoke a synchronous method on a borrowed object.
from
PoolProxy
void
configureBorrowed(object $object)
Apply proxy-held state to a freshly borrowed object.
from
PoolProxy
SentMessage|null
send(RawMessage $message, Envelope|null $envelope = null)
No description
string
__toString()
No description
Details
in
PoolProxy at line 18
__construct(PoolDefinition $definition, Closure $createCallback, Factory $pools, Closure|null $releaseCallback = null)
Create a proxy that resolves its current pool per operation.
in
PoolProxy at line 29
protected ObjectPool
pool()
Resolve the current pool for this proxy's definition.
in
PoolProxy at line 55
protected mixed
invoke(string $method, array $arguments)
Invoke a synchronous method on a borrowed object.
in
PoolProxy at line 73
protected void
configureBorrowed(object $object)
Apply proxy-held state to a freshly borrowed object.
in
PoolProxy at line 80
PoolDefinition
getDefinition()
Get this proxy's immutable pool definition.
in
PoolProxy at line 88
string
getPoolName()
Return the pool's fully qualified registry name.
in
PoolProxy at line 96
bool
invalidatePool()
Remove and close this proxy's current shared pool.
at line 20
SentMessage|null
send(RawMessage $message, Envelope|null $envelope = null)
No description
at line 25
string
__toString()
No description