trash-panda / bernard-container-interop-router
A Container Interop Router for Bernard -> https://github.com/bernardphp
1.0.0
2016-08-26 12:08 UTC
Requires
- bernard/bernard: ^1.0@alpha
- container-interop/container-interop: ^1.1
This package is auto-updated.
Last update: 2024-12-12 21:47:43 UTC
README
- Bernard -> https://github.com/bernardphp/bernard
- Container Interop -> https://github.com/container-interop/container-interop
Installation
composer require trash-panda/bernard-container-interop-router
Usage
use TrashPanda\BernardContainerInteropRouter\ContainerInteropAwareRouter; use Bernard\Consumer; $router = new ContainerInteropAwareRouter($yourContainer); $consumer = new Consumer($router, $dispatcher);