original_string: public function create(Theme &$theme)
      {
          $data = $theme->exportData();
          $endpoint = '/admin/themes.json';
          $response = $this->request(
              $endpoint, 'POST', array(
              'theme' => $data
              )
          );
          $theme->setData($response['theme']);
      }
code: public function create(Theme &$theme)
      {
          $data = $theme->exportData();
          $endpoint = '/admin/themes.json';
          $response = $this->request(
              $endpoint, 'POST', array(
              'theme' => $data
              )
          );
          $theme->setData($response['theme']);
      }
code_tokens: public function create ( Theme & $ theme ) { $ data = $ theme -> exportData ( ) ; $ endpoint = '/admin/themes.json' ; $ response = $ this -> request ( $ endpoint , 'POST' , array ( 'theme' => $ data ) ) ; $ theme -> setData ( $ response [ 'theme' ] ) ; }
docstring: Create a new theme
  
  @link   https://help.shopify.com/api/reference/theme#create
  @param  Theme $theme
  @return void
docstring_tokens: Create a new theme