Toggle navigation
Capsule 4.x
Overview
Container Usage
Definitions
Overview
Class Definitions
Interface Definitions
Primitive Values
Lazy Resolution
Definition Providers
Upgrading
Capsule 3.x
Overview
Container Usage
Definitions
Overview
Class Definitions
Interface Definitions
Primitive Values
Lazy Resolution
Definition Providers
Upgrading
Capsule 2.x
Capsule 1.x
Capsule
Capsule 3.x
2. Capsule 3.x
2.1.
Overview
2.2.
Container Usage
2.2.1.
Retrieving Shared Instances
2.2.2.
Retrieving New Instances
2.2.3.
Retrieving Values
2.2.4.
Checking For Existence
2.2.5.
Callable Factories
2.3.
Definitions
2.3.1.
Overview
2.3.2.
Class Definitions
2.3.2.1.
Initial Construction
2.3.2.1.1.
Constructor Arguments
2.3.2.1.1.1.
By Position or Name
2.3.2.1.1.2.
By Typehint
2.3.2.1.1.3.
Variadic Arguments
2.3.2.1.1.4.
Inherited Arguments
2.3.2.1.1.5.
Argument Examination and References
2.3.2.1.2.
Class Overrides
2.3.2.1.3.
Factory Instantiation
2.3.2.2.
Extended Construction
2.3.2.2.1.
Property Injection
2.3.2.2.2.
Setter Injection
2.3.2.2.3.
General Modification
2.3.2.2.4.
Decorators
2.3.3.
Interface Definitions
2.3.3.1.
Implementation Class
2.3.3.2.
Factory Callable
2.3.4.
Primitive Values
2.3.4.1.
Lazy Resolution
2.3.4.2.
Naming Convention
2.4.
Lazy Resolution
2.4.1.
Environment Variables
2.4.2.
Comma-Separated Environment Variables
2.4.3.
Any Callable
2.4.4.
Function Calls
2.4.5.
Static Method Calls
2.4.6.
Shared Instances From The Container
2.4.7.
Shared Instance Method Calls
2.4.8.
New Instances From The Container
2.4.9.
New Instance Method Calls
2.4.10.
Callable Factories
2.4.11.
Included Files
2.4.12.
Required Files
2.4.13.
Array Values
2.4.14.
Standalone Definitions
2.5.
Definition Providers
2.6.
Upgrading