PHP Interface Prooph\EventStore\Metadata\MetadataEnricher

Mostra file Open project: prooph/event-store Interface Usage Examples

Public Methods

Method Description
enrich ( Prooph\Common\Messaging\Message $message ) : Prooph\Common\Messaging\Message Return the given message with added metadata.

Method Details

enrich() public method

Return the given message with added metadata.
public enrich ( Prooph\Common\Messaging\Message $message ) : Prooph\Common\Messaging\Message
$message Prooph\Common\Messaging\Message
return Prooph\Common\Messaging\Message