DependencyFinder
in package
This is a simple class that uses reflection to figure out the dependencies of a method and attempts to return them using the Injector instance.
Tags
Table of Contents
- getMethodDependencies() : array<string|int, mixed>
- getParameterDependency() : mixed
Methods
getMethodDependencies()
public
getMethodDependencies(Injector $injector, ReflectionMethod $method) : array<string|int, mixed>
Parameters
- $injector : Injector
- $method : ReflectionMethod
Tags
Return values
array<string|int, mixed> —getParameterDependency()
public
getParameterDependency(Injector $injector, ReflectionParameter $parameter) : mixed
Parameters
- $injector : Injector
- $parameter : ReflectionParameter