public function remove(string $name): void
    {
        if ($this->has($name)) {
            unset($this->factories[$name]);
        }
    }
public function remove(string $name): void
    {
        if ($this->has($name)) {
            unset($this->factories[$name]);
        }
    }
public function remove ( string $ name ) : void { if ( $ this -> has ( $ name ) ) { unset ( $ this -> factories [ $ name ] ) ; } }
Remove repository factory.

@param string $name factory name
Remove repository factory .