original_string: public function getIdentifierValues($document)
      {
          $class = $this->getMetadata(ClassUtils::getClass($document));
          $path = $class->reflFields[$class->identifier]->getValue($document);
  
          return [$path];
      }
code: public function getIdentifierValues($document)
      {
          $class = $this->getMetadata(ClassUtils::getClass($document));
          $path = $class->reflFields[$class->identifier]->getValue($document);
  
          return [$path];
      }
code_tokens: public function getIdentifierValues ( $ document ) { $ class = $ this -> getMetadata ( ClassUtils :: getClass ( $ document ) ) ; $ path = $ class -> reflFields [ $ class -> identifier ] -> getValue ( $ document ) ; return [ $ path ] ; }
docstring: Transforms the document into the PHPCR path.
  
  Note: This is returning an array because Doctrine ORM for example can
  have multiple identifiers, e.g. if the primary key is composed of
  several columns. We only ever have one, but return that wrapped into an
  array to adhere to the interface.
  
  {@inheritdoc}
docstring_tokens: Transforms the document into the PHPCR path .