protected function closePrevious()
    {
        static $previous = [];

        $id = spl_object_hash($this->getDriver());
        if (isset($previous[$id]) && $previous[$id] !== $this->prepared) {
            $this->realClose($previous[$id]);
        }
        $previous[$id] = $this->prepared;

        return $this;
    }
protected function closePrevious()
    {
        static $previous = [];

        $id = spl_object_hash($this->getDriver());
        if (isset($previous[$id]) && $previous[$id] !== $this->prepared) {
            $this->realClose($previous[$id]);
        }
        $previous[$id] = $this->prepared;

        return $this;
    }
protected function closePrevious ( ) { static $ previous = [ ] ; $ id = spl_object_hash ( $ this -> getDriver ( ) ) ; if ( isset ( $ previous [ $ id ] ) && $ previous [ $ id ] !== $ this -> prepared ) { $ this -> realClose ( $ previous [ $ id ] ) ; } $ previous [ $ id ] = $ this -> prepared ; return $ this ; }
Close previous prepared statement

@return $this
@access protected
Close previous prepared statement