public function getAttribute($attribute)
    {
        switch ($attribute) {
            case self::PROPEL_ATTR_CACHE_PREPARES:
                return $this->isCachePreparedStatements;
                break;
            default:
                return $this->connection->getAttribute($attribute);
        }
    }
public function getAttribute($attribute)
    {
        switch ($attribute) {
            case self::PROPEL_ATTR_CACHE_PREPARES:
                return $this->isCachePreparedStatements;
                break;
            default:
                return $this->connection->getAttribute($attribute);
        }
    }
public function getAttribute ( $ attribute ) { switch ( $ attribute ) { case self :: PROPEL_ATTR_CACHE_PREPARES : return $ this -> isCachePreparedStatements ; break ; default : return $ this -> connection -> getAttribute ( $ attribute ) ; } }
Retrieve a database connection attribute.

@param string $attribute The name of the attribute to retrieve,
e.g. PDO::ATTR_AUTOCOMMIT

@return mixed A successful call returns the value of the requested attribute.
An unsuccessful call returns null.
Retrieve a database connection attribute .