original_string: protected function getFilteredOptions(array $options)
      {
          $default = $this->getDefaultOptions();
          $options = \array_merge($default, $options);
  
          $uses = \array_unique(\array_merge([
              'path', 'filename', 'extension', 'format',
          ], \array_keys($default)));
  
          $data = Arr::only($options, $uses);
  
          return $data;
      }
code: protected function getFilteredOptions(array $options)
      {
          $default = $this->getDefaultOptions();
          $options = \array_merge($default, $options);
  
          $uses = \array_unique(\array_merge([
              'path', 'filename', 'extension', 'format',
          ], \array_keys($default)));
  
          $data = Arr::only($options, $uses);
  
          return $data;
      }
code_tokens: protected function getFilteredOptions ( array $ options ) { $ default = $ this -> getDefaultOptions ( ) ; $ options = \ array_merge ( $ default , $ options ) ; $ uses = \ array_unique ( \ array_merge ( [ 'path' , 'filename' , 'extension' , 'format' , ] , \ array_keys ( $ default ) ) ) ; $ data = Arr :: only ( $ options , $ uses ) ; return $ data ; }
docstring: Get filtered options.
  
  @param  array  $options
  
  @return array
docstring_tokens: Get filtered options .