Documentation

Implementation
in package
implements Binder

Tags
author

Bob Mckee bmckee@bywires.com

author

James Pepin james@jamespepin.com

category

Horde

copyright

2009-2021 Horde LLC

license

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

Interfaces, Classes, Traits and Enums

Binder
Describes a binding class that is able to create concrete object instances.

Table of Contents

$dependencyFinder  : DependencyFinder
$implementation  : mixed
__construct()  : mixed
create()  : mixed
Create an instance.
equals()  : bool
Determine if one binder equals another binder
getImplementation()  : mixed
getInstance()  : mixed
validateImplementation()  : void

Properties

Methods

create()

Create an instance.

public create(Injector $injector) : mixed
Parameters
$injector : Injector
Return values
mixed

The concrete instance.

equals()

Determine if one binder equals another binder

public equals(Binder $otherBinder) : bool
Parameters
$otherBinder : Binder
Return values
bool

Equality.

getImplementation()

public getImplementation() : mixed
Return values
mixed

getInstance()

protected getInstance(Injector $injector, ReflectionClass $class) : mixed
Parameters
$injector : Injector
$class : ReflectionClass
Return values
mixed

validateImplementation()

protected validateImplementation(ReflectionClass $reflectionClass) : void
Parameters
$reflectionClass : ReflectionClass
Return values
void

Search results