public function remove($key)
    {
        unset($this->_definitions[$key], $this->_singletons[$key]);
        foreach ($this->_aliases as $alias => $akey) {
        	if ($akey === $key) {
        		unset($this->_aliases[$alias]); 
        		break;
        	}
        }
    }
public function remove($key)
    {
        unset($this->_definitions[$key], $this->_singletons[$key]);
        foreach ($this->_aliases as $alias => $akey) {
        	if ($akey === $key) {
        		unset($this->_aliases[$alias]); 
        		break;
        	}
        }
    }
public function remove ( $ key ) { unset ( $ this -> _definitions [ $ key ] , $ this -> _singletons [ $ key ] ) ; foreach ( $ this -> _aliases as $ alias => $ akey ) { if ( $ akey === $ key ) { unset ( $ this -> _aliases [ $ alias ] ) ; break ; } } }
Removes by key
@param string $key key or class name or interface name
Removes by key