original_string: public function get($customCollectionId, array $fields = array())
      {
          $params = array();
          if (!empty($fields)) {
              $params['fields'] = $fields;
          }
          $endpoint = '/admin/custom_collections/'.$customCollectionId.'.json';
          $response = $this->request($endpoint, 'GET', $params);
          return $this->createObject(CustomCollection::class, $response['custom_collection']);
      }
code: public function get($customCollectionId, array $fields = array())
      {
          $params = array();
          if (!empty($fields)) {
              $params['fields'] = $fields;
          }
          $endpoint = '/admin/custom_collections/'.$customCollectionId.'.json';
          $response = $this->request($endpoint, 'GET', $params);
          return $this->createObject(CustomCollection::class, $response['custom_collection']);
      }
code_tokens: public function get ( $ customCollectionId , array $ fields = array ( ) ) { $ params = array ( ) ; if ( ! empty ( $ fields ) ) { $ params [ 'fields' ] = $ fields ; } $ endpoint = '/admin/custom_collections/' . $ customCollectionId . '.json' ; $ response = $ this -> request ( $ endpoint , 'GET' , $ params ) ; return $ this -> createObject ( CustomCollection :: class , $ response [ 'custom_collection' ] ) ; }
docstring: Receive a single custom collection
  
  @link   https://help.shopify.com/api/reference/customcollection#show
  @param  integer $customCollectionId
  @param  array   $fields
  @return CustomCollection
docstring_tokens: Receive a single custom collection