original_string: public function getLogEntriesRoot($entity, $rootVersion = null)
      {
          $q = $this->getLogEntriesQueryRoot($entity, $rootVersion);
  
          return $q->getResult();
      }
code: public function getLogEntriesRoot($entity, $rootVersion = null)
      {
          $q = $this->getLogEntriesQueryRoot($entity, $rootVersion);
  
          return $q->getResult();
      }
code_tokens: public function getLogEntriesRoot ( $ entity , $ rootVersion = null ) { $ q = $ this -> getLogEntriesQueryRoot ( $ entity , $ rootVersion ) ; return $ q -> getResult ( ) ; }
docstring: Loads all log entries for the given entity
  
  @param object  $entity
  @param integer $rootVersion
  
  @return array
docstring_tokens: Loads all log entries for the given entity