lib/Doctrine/DBAL/Platforms/SQLAnywherePlatform.php
public function getForeignKeyMatchClauseSQL($type)
    {
        switch ((int) $type) {
            case self::FOREIGN_KEY_MATCH_SIMPLE:
                return 'SIMPLE';

                break;
            case self::FOREIGN_KEY_MATCH_FULL:
                return 'FULL';

                break;
            case self::FOREIGN_KEY_MATCH_SIMPLE_UNIQUE:
                return 'UNIQUE SIMPLE';

                break;
            case self::FOREIGN_KEY_MATCH_FULL_UNIQUE:
                return 'UNIQUE FULL';
            default:
                throw new InvalidArgumentException('Invalid foreign key match type: ' . $type);
        }
    }
public function getForeignKeyMatchClauseSQL($type)
    {
        switch ((int) $type) {
            case self::FOREIGN_KEY_MATCH_SIMPLE:
                return 'SIMPLE';

                break;
            case self::FOREIGN_KEY_MATCH_FULL:
                return 'FULL';

                break;
            case self::FOREIGN_KEY_MATCH_SIMPLE_UNIQUE:
                return 'UNIQUE SIMPLE';

                break;
            case self::FOREIGN_KEY_MATCH_FULL_UNIQUE:
                return 'UNIQUE FULL';
            default:
                throw new InvalidArgumentException('Invalid foreign key match type: ' . $type);
        }
    }
public function getForeignKeyMatchClauseSQL ( $ type ) { switch ( ( int ) $ type ) { case self :: FOREIGN_KEY_MATCH_SIMPLE : return 'SIMPLE' ; break ; case self :: FOREIGN_KEY_MATCH_FULL : return 'FULL' ; break ; case self :: FOREIGN_KEY_MATCH_SIMPLE_UNIQUE : return 'UNIQUE SIMPLE' ; break ; case self :: FOREIGN_KEY_MATCH_FULL_UNIQUE : return 'UNIQUE FULL' ; default : throw new InvalidArgumentException ( 'Invalid foreign key match type: ' . $ type ) ; } }
Returns foreign key MATCH clause for given type.

@param int $type The foreign key match type

@return string

@throws InvalidArgumentException If unknown match type given.
Returns foreign key MATCH clause for given type .