mpoiriert / invoker
Reusable library
1.1.0
2014-08-11 14:35 UTC
Requires
- php: >=5.3
Requires (Dev)
- phpunit/phpunit: 3.7.*
This package is auto-updated.
Last update: 2026-03-09 16:25:36 UTC
README
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.