src/POData/Providers/Metadata/Type/Int32.php
/**
     * Checks this type (Int32) is compatible with another type
     * Note: implementation of IType::isCompatibleWith
     * 
     * @param IType $type Type to check compatibility
     * 
     * @return boolean 
     */
Checks this type (Int32) is compatible with another type
Note: implementation of IType::isCompatibleWith

@param IType $type Type to check compatibility

@return boolean
Checks this type ( Int32 ) is compatible with another type Note : implementation of IType :: isCompatibleWith @param IType $type Type to check compatibility @return boolean
public function isCompatibleWith(IType $type)
    {
        switch ($type->getTypeCode()) {
	        case TypeCode::BYTE:
	        case TypeCode::SBYTE:
	        case TypeCode::INT16:
	        case TypeCode::INT32:
	            return true;
        }
        return false;
    }
public function isCompatibleWith ( IType $ type ) { switch ( $ type -> getTypeCode ( ) ) { case TypeCode :: BYTE : case TypeCode :: SBYTE : case TypeCode :: INT16 : case TypeCode :: INT32 : return true ; } return false ; }
Checks this type (Int32) is compatible with another type
 Note: implementation of IType::isCompatibleWith
Checks this type ( Int32 ) is compatible with another type Note : implementation of IType :: isCompatibleWith