original_string: protected function prepareCacheLabels()
      {
          $export = $this->exportManager->getExport($this->exportAlias);
          $keys = $export->getQueryKeys($this->exportData);
          
          foreach($keys as $key) {
              // get an array with all values for this key if possible
              $values = \array_map(function ($v) use ($key) { return $v[$key]; }, $this->result);
              // store the label in the labelsCache property
              $this->labelsCache[$key] = $export->getLabels($key, $values, $this->exportData);
          }
      }
code: protected function prepareCacheLabels()
      {
          $export = $this->exportManager->getExport($this->exportAlias);
          $keys = $export->getQueryKeys($this->exportData);
          
          foreach($keys as $key) {
              // get an array with all values for this key if possible
              $values = \array_map(function ($v) use ($key) { return $v[$key]; }, $this->result);
              // store the label in the labelsCache property
              $this->labelsCache[$key] = $export->getLabels($key, $values, $this->exportData);
          }
      }
code_tokens: protected function prepareCacheLabels ( ) { $ export = $ this -> exportManager -> getExport ( $ this -> exportAlias ) ; $ keys = $ export -> getQueryKeys ( $ this -> exportData ) ; foreach ( $ keys as $ key ) { // get an array with all values for this key if possible $ values = \ array_map ( function ( $ v ) use ( $ key ) { return $ v [ $ key ] ; } , $ this -> result ) ; // store the label in the labelsCache property $ this -> labelsCache [ $ key ] = $ export -> getLabels ( $ key , $ values , $ this -> exportData ) ; } }
docstring: Prepare the label cache which will be used by getLabel. This function
  should be called only once in the generation lifecycle.
docstring_tokens: Prepare the label cache which will be used by getLabel . This function should be called only once in the generation lifecycle .