Documentation

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
author

Bob Mckee bmckee@bywires.com

author

James Pepin james@jamespepin.com

author

Chuck Hagenbuch chuck@horde.org

category

Horde

copyright

2009-2021 Horde LLC

license

http://www.horde.org/licenses/bsd BSD

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
throws
Exception
Return values
array<string|int, mixed>

getParameterDependency()

public getParameterDependency(Injector $injector, ReflectionParameter $parameter) : mixed
Parameters
$injector : Injector
$parameter : ReflectionParameter
Tags
throws
Exception
Return values
mixed

Search results