private function splitConfiguration(array $options) {
    $return_array = [
      'method' => 'GET',
      'arguments' => [],
      'options' => [],
    ];

    // Request method passed?
    if (isset($options['method'])) {
      $return_array['method'] = $options['method'];
    }
    // URL arguments passed?
    if (isset($options['arguments'])) {
      $return_array['arguments'] = $options['arguments'];
    };

    // Request options passed?
    if (isset($options['options'])) {
      $return_array['options'] = $options['options'];
    }

    return array_values($return_array);
  }
private function splitConfiguration(array $options) {
    $return_array = [
      'method' => 'GET',
      'arguments' => [],
      'options' => [],
    ];

    // Request method passed?
    if (isset($options['method'])) {
      $return_array['method'] = $options['method'];
    }
    // URL arguments passed?
    if (isset($options['arguments'])) {
      $return_array['arguments'] = $options['arguments'];
    };

    // Request options passed?
    if (isset($options['options'])) {
      $return_array['options'] = $options['options'];
    }

    return array_values($return_array);
  }
private function splitConfiguration ( array $ options ) { $ return_array = [ 'method' => 'GET' , 'arguments' => [ ] , 'options' => [ ] , ] ; // Request method passed? if ( isset ( $ options [ 'method' ] ) ) { $ return_array [ 'method' ] = $ options [ 'method' ] ; } // URL arguments passed? if ( isset ( $ options [ 'arguments' ] ) ) { $ return_array [ 'arguments' ] = $ options [ 'arguments' ] ; } ; // Request options passed? if ( isset ( $ options [ 'options' ] ) ) { $ return_array [ 'options' ] = $ options [ 'options' ] ; } return array_values ( $ return_array ) ; }
Splits API request options array into main buckets.

@param array $options
Key/Value array of api request options.

@return array
Splits API request options array into main buckets .