public static function globalMappings($mappings = null) {
        if (self::$globalMappings === null) {
            self::$globalMappings = [];
        }

        if (is_array($mappings)) {
            $mappings = array_change_key_case($mappings);

            self::$globalMappings = array_replace(
                self::$globalMappings,
                $mappings
            );
        }

        return self::$globalMappings;
    }
public static function globalMappings($mappings = null) {
        if (self::$globalMappings === null) {
            self::$globalMappings = [];
        }

        if (is_array($mappings)) {
            $mappings = array_change_key_case($mappings);

            self::$globalMappings = array_replace(
                self::$globalMappings,
                $mappings
            );
        }

        return self::$globalMappings;
    }
public static function globalMappings ( $ mappings = null ) { if ( self :: $ globalMappings === null ) { self :: $ globalMappings = [ ] ; } if ( is_array ( $ mappings ) ) { $ mappings = array_change_key_case ( $ mappings ) ; self :: $ globalMappings = array_replace ( self :: $ globalMappings , $ mappings ) ; } return self :: $ globalMappings ; }
Gets or sets the global mappings array that maps parameter names to mappings.

@param array|null $mappings An array of mappings to set.
@return array Returns the current global mappings.
Gets or sets the global mappings array that maps parameter names to mappings .