\AnaxDI

Namespaces

Exception

Traits

DIMagicTrait Trait to use to make a DI container use magic for getting services. A class using a DI container can access $this->di->session; as an alternative to $this->di->get("session");
DIServiceSetBaseTrait Trait to create a set of base services.
InjectionAwareTrait Trait to use for DI aware services to let them know of the current $di.
InjectionMagicTrait Trait to use for DI aware services to let them know of the current $di.

Interfaces

DIInterface A DI class used with Anax should implement this interface.
InjectionAwareInterface Interface to implement for DI aware services to let them know of the current $di

Classes

DI Anax base class implementing Dependency Injection / Service Locator of the services used by the framework, using lazy loading.
DIFactoryConfig DI factory class creating a set of default services by loading them from a configuration file.
DIFactoryConfigMagic DI factory class creating a set of default services by loading them from a configuration file and allowing use of magic methods to access the services.
DIFactoryDefault DI factory class creating a set of default services into the DI container.
DIFactoryTest DI factory class creating a set of default services into the DI container.