protected function _parseNotnull($data)
    {
        switch ($data['is_nullable']) {
            case 'YES':
                $this->_notnull = false;
                break;
            case 'NO':
                $this->_notnull = true;
                break;
            default:
                throw new \UnexpectedValueException('Invalid yes/no type: ' . $data['is_nullable']);
        }
    }
protected function _parseNotnull($data)
    {
        switch ($data['is_nullable']) {
            case 'YES':
                $this->_notnull = false;
                break;
            case 'NO':
                $this->_notnull = true;
                break;
            default:
                throw new \UnexpectedValueException('Invalid yes/no type: ' . $data['is_nullable']);
        }
    }
protected function _parseNotnull ( $ data ) { switch ( $ data [ 'is_nullable' ] ) { case 'YES' : $ this -> _notnull = false ; break ; case 'NO' : $ this -> _notnull = true ; break ; default : throw new \ UnexpectedValueException ( 'Invalid yes/no type: ' . $ data [ 'is_nullable' ] ) ; } }
Extract NOT NULL constraint from column data

The default implementation expects an array with information_schema
compatible keys.
@param mixed $data Column data
Extract NOT NULL constraint from column data