public static function makeValuePairs($array, $key, $value)
    {
        Deprecated::method(3.3, 'Use array_column() or Arr::column() instead.');

        if (!is_array($array)) {
            return [];
        }

        return self::column($array, $value, $key);
    }
public static function makeValuePairs($array, $key, $value)
    {
        Deprecated::method(3.3, 'Use array_column() or Arr::column() instead.');

        if (!is_array($array)) {
            return [];
        }

        return self::column($array, $value, $key);
    }
public static function makeValuePairs ( $ array , $ key , $ value ) { Deprecated :: method ( 3.3 , 'Use array_column() or Arr::column() instead.' ) ; if ( ! is_array ( $ array ) ) { return [ ] ; } return self :: column ( $ array , $ value , $ key ) ; }
Make a simple array consisting of key=>value pairs, that can be used
in select-boxes in forms.

@param array  $array
@param string $key
@param string $value

@return array

@deprecated since 3.3, to be removed in 4.0. Use {@see array_column} or {@see Arr::column} instead.
Make a simple array consisting of key = > value pairs that can be used in select - boxes in forms .