original_string: public function getSupportedMimes()
      {
          if ($this->mimes) {
              return $this->mimes;
          }
  
          $response = $this->get(
              'mime-types',
              $this->getGuzzleOptions([
                  'headers' => [
                      'Accept' => 'application/json',
                  ],
              ])
          );
  
          return $this->mimes = Convert::json2array($response->getBody());
      }
code: public function getSupportedMimes()
      {
          if ($this->mimes) {
              return $this->mimes;
          }
  
          $response = $this->get(
              'mime-types',
              $this->getGuzzleOptions([
                  'headers' => [
                      'Accept' => 'application/json',
                  ],
              ])
          );
  
          return $this->mimes = Convert::json2array($response->getBody());
      }
code_tokens: public function getSupportedMimes ( ) { if ( $ this -> mimes ) { return $ this -> mimes ; } $ response = $ this -> get ( 'mime-types' , $ this -> getGuzzleOptions ( [ 'headers' => [ 'Accept' => 'application/json' , ] , ] ) ) ; return $ this -> mimes = Convert :: json2array ( $ response -> getBody ( ) ) ; }
docstring: Gets supported mime data. May include aliased mime types.
  
  @return array
docstring_tokens: Gets supported mime data . May include aliased mime types .