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-05-12 20:24:40 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);