You are viewing documentation for an outdated version. It is no longer supported!

destroy()

This method ensures that all bindings are unset, including those located within the Facadeopen in new window. In addition, when invoked the Facade's application is also unset.

use \Aedart\Container\IoC;

$ioc = IoC::getInstance();

// ...later in your application or test
$ioc->destroy();