class Batch (View source)

Batch builder object for use before the batch is actually dispatched and converted into an entity.

Properties

protected string $name
protected iterable $messages

Methods

string
getName()

No description

setName(string $name)

No description

iterable
getMessages()

No description

setMessages(iterable|callable $messages)

No description

add(object $message)

No description

getWrappedMessages(Batch $batchEntity)

No description

static Batch
create(string $name = null, iterable|callable $messages = null)

No description

Details

string getName()

No description

Return Value

string

setName(string $name)

No description

Parameters

string $name

iterable getMessages()

No description

Return Value

iterable

setMessages(iterable|callable $messages)

No description

Parameters

iterable|callable $messages

add(object $message)

No description

Parameters

object $message

getWrappedMessages(Batch $batchEntity)

No description

Parameters

Batch $batchEntity

static Batch create(string $name = null, iterable|callable $messages = null)

No description

Parameters

string $name
iterable|callable $messages

Return Value

Batch