mpoiriert / invoker
Reusable library
Installs: 7 156
Dependents: 2
Suggesters: 0
Security: 0
Stars: 1
Watchers: 4
Forks: 0
Open Issues: 0
Requires
- php: >=5.3
Requires (Dev)
- phpunit/phpunit: 3.7.*
This package is auto-updated.
Last update: 2024-11-09 13:48:46 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.