fervo/validated-message

Message validation for SimpleBus

1.0.1 2016-10-26 14:24 UTC

This package is auto-updated.

Last update: 2024-11-12 03:51:54 UTC


README

Automatic message validation for SimpleBus

How to use

Tag your message with the Fervo\ValidatedMessage\Validated marker interface. All messages tagged with the interface will be validated by the Symfony validator passed to the constructor of the ValidatingMiddleware.