Binder
in
Describes a binding class that is able to create concrete object instances.
Tags
Table of Contents
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.