<?php

/** @var $di \Aura\Di\Container */

$di->setter["MattyG\Framework\Core\Entity\Database"]["setDB"] = $di->get("db");


<?php

/** @var $di \Aura\Di\Container */

$di->setter["MattyG\Framework\Core\Entity\Database"]["setDB"] = $di->get("db");
$di->setter["MattyG\Framework\Core\Entity\DatabaseCollection"]["setDB"] = $di->get("db");


Add DB setter for DatabaseCollection.
Add DB setter for DatabaseCollection.

Even though DatabaseCollection uses Database, Database won't show up in
the return array from class_uses(). Why, PHP? Why?
