public function removeFactory($name)
    {
        if ($this->hasFactory($name)) {
            unset($this->factories[$name]);

            return true;
        }

        return false;
    }
public function removeFactory($name)
    {
        if ($this->hasFactory($name)) {
            unset($this->factories[$name]);

            return true;
        }

        return false;
    }
public function removeFactory ( $ name ) { if ( $ this -> hasFactory ( $ name ) ) { unset ( $ this -> factories [ $ name ] ) ; return true ; } return false ; }
Remove factory by its name

@param string $name factory name

@return boolean true if removed false otherwise
Remove factory by its name