class ArrayTransportMessageStore implements ReplicableContext

Properties

protected Collection> $messages

The messages stored for each transport.

Methods

__construct()

Create a new array transport message store.

messagesFor(ArrayTransport $transport)

Retrieve the messages for the given transport.

flush(ArrayTransport $transport)

Clear the messages for the given transport.

replicate()

Create an independent copy with the same messages.

Details

at line 23
__construct()

Create a new array transport message store.

at line 31
Collection messagesFor(ArrayTransport $transport)

Retrieve the messages for the given transport.

Parameters

ArrayTransport $transport

Return Value

Collection

at line 39
Collection flush(ArrayTransport $transport)

Clear the messages for the given transport.

Parameters

ArrayTransport $transport

Return Value

Collection

at line 47
ReplicableContext replicate()

Create an independent copy with the same messages.

Return Value

ReplicableContext