Phalcon\Test\UnitTestCase::setDI PHP Method

setDI() public method

Sets the Dependency Injector.
See also: Injectable::setDI
public setDI ( Phalcon\DiInterface $di )
$di Phalcon\DiInterface
    public function setDI(DiInterface $di)
    {
        $this->di = $di;
        return $this;
    }