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 Facade
. 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();