original_string: public function ref($spec, $value)
      {
          array_push($this->data, $value);
          /*
          * set content
          */
          $value = $this->cache->getContents($spec, [$value]);
          $this->content = array_merge($this->content, $value);
      }
code: public function ref($spec, $value)
      {
          array_push($this->data, $value);
          /*
          * set content
          */
          $value = $this->cache->getContents($spec, [$value]);
          $this->content = array_merge($this->content, $value);
      }
code_tokens: public function ref ( $ spec , $ value ) { array_push ( $ this -> data , $ value ) ; /*
          * set content
          */ $ value = $ this -> cache -> getContents ( $ spec , [ $ value ] ) ; $ this -> content = array_merge ( $ this -> content , $ value ) ; }
docstring: Reference data and set content.
  
  @param FieldInterface|SubfieldInterface          $spec  The corresponding spec
  @param string|File_MARC_Field|File_MARC_Subfield $value The value to reference
docstring_tokens: Reference data and set content .