\Anax\DIInjectionAwareTrait

Trait to use for DI aware services to let them know of the current $di.

Summary

Methods
Properties
Constants
setDI()
No public properties found
No constants found
No protected methods found
$di
N/A
No private methods found
No private properties found
N/A

Properties

$di

$di : \Anax\DI\Anax\DI\DIInterface

Type

\Anax\DI\Anax\DI\DIInterface — the DI service container.

Methods

setDI()

setDI(\Anax\DI\Anax\DI\DIInterface  $di) : self

Set the service container to use

Parameters

\Anax\DI\Anax\DI\DIInterface $di

a service container

Returns

self