public function __destruct()
{
foreach ($this->serviceProviders as $provider) {
try {
$this->unregisterProvider($provider);
} catch (Error $ex) {
} catch (Exception $ex) {
}
}
unset($this->container);
unset($this->serviceProviders);
unset($this->serviceAliases);
unset($this->booted);
}