diff --git a/.gitignore b/.gitignore index 555a1cf..154c0a8 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,5 @@ composer.lock phpunit.xml var/cache/test/ + +.phpunit.result.cache diff --git a/README.md b/README.md index f310b8d..bda0842 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ Configure this Middleware to your MessageBus #### Register the Bundle if not done automaticaly -```yaml +```php setVersion(); + } + + public function getBuildVersion(): int + { + return 1; + } +} +``` + +#### Configure a MessageHandler + +```php +checkVersion($message); + + //Handle message + ... + } +} +```