original_string: public function registerReference(Reference $reference)
      {
          $name = $reference->getName();
          $this->references[$name] = $reference;
      }
code: public function registerReference(Reference $reference)
      {
          $name = $reference->getName();
          $this->references[$name] = $reference;
      }
code_tokens: public function registerReference ( Reference $ reference ) { $ name = $ reference -> getName ( ) ; $ this -> references [ $ name ] = $ reference ; }
docstring: Registers a new reference
docstring_tokens: Registers a new reference