for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Anax\DI;
/**
* Trait to use for DI aware services to let them know of the current $di
*
*/
trait InjectionAwareTrait
{
* Properties
protected $di; // the service container
* Set the service container to use
* @param class $di a service container
* @return $this
public function setDI($di)
$this->di = $di;
}