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

This package is auto-updated.

Last update: 2024-11-12 21:40:58 UTC


README

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);