public function normalizeFKey($behavior)
    {
        if (null === $behavior) {
            return self::NONE;
        }

        $behavior = strtoupper($behavior);

        if ('NONE' === $behavior) {
            return self::NONE;
        }

        if ('SETNULL' === $behavior) {
            return self::SETNULL;
        }

        return $behavior;
    }
public function normalizeFKey($behavior)
    {
        if (null === $behavior) {
            return self::NONE;
        }

        $behavior = strtoupper($behavior);

        if ('NONE' === $behavior) {
            return self::NONE;
        }

        if ('SETNULL' === $behavior) {
            return self::SETNULL;
        }

        return $behavior;
    }
public function normalizeFKey ( $ behavior ) { if ( null === $ behavior ) { return self :: NONE ; } $ behavior = strtoupper ( $ behavior ) ; if ( 'NONE' === $ behavior ) { return self :: NONE ; } if ( 'SETNULL' === $ behavior ) { return self :: SETNULL ; } return $ behavior ; }
Returns the normalized input of onDelete and onUpdate behaviors.

@param  string $behavior
@return string
Returns the normalized input of onDelete and onUpdate behaviors .