2017 © Pedro Peláez
 

library action-dispatcher

Action dispatcher for PSR-15 compatible middleware

image

ideationnet/action-dispatcher

Action dispatcher for PSR-15 compatible middleware

  • Wednesday, December 14, 2016
  • by darrenmothersele
  • Repository
  • 1 Watchers
  • 0 Stars
  • 25 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

Action Dispatcher

A PSR-15 "Action Domain Responder" middleware that dispatches to actions resolved by Action Resolver., (*1)

Actions are dispatched using an Invoker, such as the one provided by PHP-DI., (*2)

Configuration

Actions should resolve to an instance of IdNet\Action where the input, domain, and responder have been set. The dispatcher will use the provided implementation of InvokerInterface to invoke the callables., (*3)

'action.example' => object(Action::class)
    ->method('domain', YourDomainClass::class),

'input.default' => get(YourDefaultInput::class),
'responder.default' => get(YourDefaultResonder::class),]

'another.action' => object(Action::class)
    ->method('input', OverrideInputClass::class)
    ->method('domain', AnotherDomain::class)
    ->method('responder', CustomResponder::class),

The Versions

14/12 2016

dev-master

9999999-dev https://github.com/ideationnet/action-dispatcher

Action dispatcher for PSR-15 compatible middleware

  Sources   Download

MIT

The Requires

 

ideationnet action-dispatcher

14/12 2016

1.1.0

1.1.0.0 https://github.com/ideationnet/action-dispatcher

Action dispatcher for PSR-15 compatible middleware

  Sources   Download

MIT

The Requires

 

ideationnet action-dispatcher

14/12 2016

1.0.0

1.0.0.0 https://github.com/ideationnet/action-dispatcher

Action dispatcher for PSR-15 compatible middleware

  Sources   Download

MIT

The Requires

 

ideationnet action-dispatcher