public function close()
    {
        if (!$this->connection) {
            return false;
        }
        $this->countConnections--;
        if ($this->countConnections > 0) {
            return false;
        }
        $this->implementation->close($this->connection);
        $this->connection = null;
        return true;
    }
public function close()
    {
        if (!$this->connection) {
            return false;
        }
        $this->countConnections--;
        if ($this->countConnections > 0) {
            return false;
        }
        $this->implementation->close($this->connection);
        $this->connection = null;
        return true;
    }
public function close ( ) { if ( ! $ this -> connection ) { return false ; } $ this -> countConnections -- ; if ( $ this -> countConnections > 0 ) { return false ; } $ this -> implementation -> close ( $ this -> connection ) ; $ this -> connection = null ; return true ; }
The closing requirement

@return bool
TRUE if connection has been closed in this time
The closing requirement