Documentation

Binder

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

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

Table of Contents

create()  : mixed
Create an instance.
equals()  : bool
Determine if one binder equals another binder

Methods

create()

Create an instance.

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

The injector should provide all required dependencies for creating the instance.

Return values
mixed

The concrete instance.

equals()

Determine if one binder equals another binder

public equals(Binder $binder) : bool
Parameters
$binder : Binder

The binder to compare against $this.

Return values
bool

True if equal, false if not equal.

Search results