public function clear($class)
    {
        $concrete = $this->getAlias($class);
        unset($this->_aliases[$class]);

        unset($this->_definitions[$concrete], $this->_singletons[$concrete]);
    }
public function clear($class)
    {
        $concrete = $this->getAlias($class);
        unset($this->_aliases[$class]);

        unset($this->_definitions[$concrete], $this->_singletons[$concrete]);
    }
public function clear ( $ class ) { $ concrete = $ this -> getAlias ( $ class ) ; unset ( $ this -> _aliases [ $ class ] ) ; unset ( $ this -> _definitions [ $ concrete ] , $ this -> _singletons [ $ concrete ] ) ; }
Removes the definition for the specified name.
@param string $class class name, interface name or alias name
Removes the definition for the specified name .