public function clearInstance(string $class, string $selector = Injector::DEFAULT_SELECTOR)
    {
        if (!isset($this->objects[$class]))
            return;
        
        unset($this->objects[$class][$selector]);
    }
public function clearInstance(string $class, string $selector = Injector::DEFAULT_SELECTOR)
    {
        if (!isset($this->objects[$class]))
            return;
        
        unset($this->objects[$class][$selector]);
    }
public function clearInstance ( string $ class , string $ selector = Injector :: DEFAULT_SELECTOR ) { if ( ! isset ( $ this -> objects [ $ class ] ) ) return ; unset ( $ this -> objects [ $ class ] [ $ selector ] ) ; }
Remove an instance from the repository
@param string $class The name of the class
@param string $selector The selector to clear
Remove an instance from the repository