mpoiriert/invoker

Reusable library

Installs: 2 247

Dependents: 4

Stars: 1

Watchers: 2

Forks: 1

Language: PHP

1.1.0 2014-08-11 14:35 UTC

README

Build Status

Service to execute a callable by passing it's parameter by name or type.

You can also register a Parameter value provider so you can provider parameter value at run time. The system does register a DefaultParameterValue in it's core with a priority of 0. This will set the default value from the the ReflectionParameter if any. If you want to be process prior to this you must register with -1 as a priority. If not provider are able to provide a value a UnableToMatchParameterException will occur.