public function getAttribute($attr)
    {
        switch($attr)
        {
        case \PDO::ATTR_AUTOCOMMIT:
            return $this->_autocommit;
        case \PDO::ATTR_DRIVER_NAME:
            return 'oci';
        case \PDO::ATTR_CASE:
            return $this->_case;
        }
        return null;
    }
public function getAttribute($attr)
    {
        switch($attr)
        {
        case \PDO::ATTR_AUTOCOMMIT:
            return $this->_autocommit;
        case \PDO::ATTR_DRIVER_NAME:
            return 'oci';
        case \PDO::ATTR_CASE:
            return $this->_case;
        }
        return null;
    }
public function getAttribute ( $ attr ) { switch ( $ attr ) { case \ PDO :: ATTR_AUTOCOMMIT : return $ this -> _autocommit ; case \ PDO :: ATTR_DRIVER_NAME : return 'oci' ; case \ PDO :: ATTR_CASE : return $ this -> _case ; } return null ; }
Return an attribute

@param int $attr attribute

@return mixed attribute value
Return an attribute