original_string: protected function mergeOptions($options)
      {
          $options = array_merge(config('mediasort', []), (array)$options);
          $options['styles'] = array_merge((array)$options['styles'], ['original' => '']);
  
          return $options;
      }
code: protected function mergeOptions($options)
      {
          $options = array_merge(config('mediasort', []), (array)$options);
          $options['styles'] = array_merge((array)$options['styles'], ['original' => '']);
  
          return $options;
      }
code_tokens: protected function mergeOptions ( $ options ) { $ options = array_merge ( config ( 'mediasort' , [ ] ) , ( array ) $ options ) ; $ options [ 'styles' ] = array_merge ( ( array ) $ options [ 'styles' ] , [ 'original' => '' ] ) ; return $ options ; }
docstring: Merge configuration options.
  
  Here we'll merge user defined options with the MediaSort defaults in a cascading manner.
  We start with overall MediaSort options.  Next we merge in storage driver specific options.
  Finally we'll merge in media specific options on top of that.
  
  @param array $options
  
  @return array
docstring_tokens: Merge configuration options .