go1 / util_publishing_event
This package's canonical repository appears to be gone and the package has been frozen as a result.
Installs: 5 435
Dependents: 2
Suggesters: 1
Security: 0
Stars: 0
Watchers: 7
Forks: 0
Open Issues: 0
Requires
- php: ^7.2
- doctrine/dbal: ^2.8.0
- go1/util_core: dev-master
- symfony/http-foundation: ^4.0 | ^3.4
This package is auto-updated.
Last update: 2024-05-14 01:30:42 UTC
README
- Provide the functionality to format the event message.
- Embed the data to the message depend on the provided pipelines
Usage
$event = new Event($payload, 'message.update');
$pipes = [];
........
$pipes[] = new EventPipeline('type', ['id' => 100]);
$newEvent = (new EventHandler)->process($event, $pipes);