code: protected function assemblePhaseData($bucket = '', $key = '', $source = '', $language = '', $tag = '')
      {
          $data = [];
  
          if ($language) {
              $data['language'] = $language;
          }
  
          if ($bucket) {
              $data['bucket'] = $bucket;
          }
  
          if ($key) {
              $data['key'] = $key;
          }
  
          if ($source) {
              $data['source'] = $source;
          }
  
          if ($tag) {
              $data['tag'] = $tag;
          }
  
          return $data;
      }
docs: assemblePhaseData
  
  Assembles the parameters into a data structure to define a Query Phase
  
  @param string $bucket
  @param string $key
  @param string $source
  @param string $language
  @param string $tag
  
  @return array