Documentation

DoctrineReceiver
in package
implements ListableReceiverInterface, MessageCountAwareInterface

Tags
author

Vincent Touzet vincent.touzet@gmail.com

Table of Contents

Interfaces

ListableReceiverInterface
Used when a receiver has the ability to list messages and find specific messages.
MessageCountAwareInterface

Constants

MAX_RETRIES  = 3

Properties

$connection  : mixed
$retryingSafetyCounter  : int
$serializer  : mixed

Methods

__construct()  : mixed
ack()  : void
{@inheritdoc}
all()  : array<string|int, Envelope>|iterable<string|int, mixed>
Returns all the messages (up to the limit) in this receiver.
find()  : Envelope|null
Returns the Envelope by id or none.
get()  : iterable<string|int, mixed>
{@inheritdoc}
getMessageCount()  : int
Returns the number of messages waiting to be handled.
reject()  : void
{@inheritdoc}
createEnvelopeFromData()  : Envelope
findDoctrineReceivedStamp()  : DoctrineReceivedStamp

Constants

Properties

Methods

all()

Returns all the messages (up to the limit) in this receiver.

public all([int $limit = null ]) : array<string|int, Envelope>|iterable<string|int, mixed>
Parameters
$limit : int = null
Return values
array<string|int, Envelope>|iterable<string|int, mixed>

get()

{@inheritdoc}

public get() : iterable<string|int, mixed>
Return values
iterable<string|int, mixed>

getMessageCount()

Returns the number of messages waiting to be handled.

public getMessageCount() : int
Return values
int

createEnvelopeFromData()

private createEnvelopeFromData(array<string|int, mixed> $data) : Envelope
Parameters
$data : array<string|int, mixed>
Return values
Envelope

        
On this page

Search results