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-12-12 21:47:43 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);