protected function getStatement($sql)
    {
        if (!isset($this->statements[$sql])) {
            $this->statements[$sql] = $this->adapter->prepare($sql);
        }
        return $this->statements[$sql];
    }
protected function getStatement($sql)
    {
        if (!isset($this->statements[$sql])) {
            $this->statements[$sql] = $this->adapter->prepare($sql);
        }
        return $this->statements[$sql];
    }
protected function getStatement ( $ sql ) { if ( ! isset ( $ this -> statements [ $ sql ] ) ) { $ this -> statements [ $ sql ] = $ this -> adapter -> prepare ( $ sql ) ; } return $ this -> statements [ $ sql ] ; }
Protected helper to either get or create a PDOStatement.

@param string $sql SQL to prepare the statement with.
@return PDOStatement A PDOStatement.
Protected helper to either get or create a PDOStatement .