func (c *Container) Close() {
	for _, d := range c.dependencies {
		if dep, ok := d.(Dependency); ok {
			dep.Close()
		}
	}
}
// Close closes all dependencies.
Close closes all dependencies.
// Close closes all dependencies .
func (c *Container) Close() {
	for _, d := range c.dependencies {
		if dep, ok := d.(Dependency); ok {
			dep.Close()
		}
	}
}
func ( c * Container ) Close ( ) { for _ , d := range c . dependencies { if dep , ok := d . ( Dependency ) ; ok { dep . Close ( ) } } }
Close closes all dependencies.
Close closes all dependencies .