Neos.Neos/Classes/EventLog/Domain/Repository/EventRepository.php
public function findRelevantEvents($offset, $limit)
    {
        $query = $this->prepareRelevantEventsQuery();

        $query->getQueryBuilder()->setFirstResult($offset);
        $query->getQueryBuilder()->setMaxResults($limit);

        return $query->execute();
    }
public function findRelevantEvents($offset, $limit)
    {
        $query = $this->prepareRelevantEventsQuery();

        $query->getQueryBuilder()->setFirstResult($offset);
        $query->getQueryBuilder()->setMaxResults($limit);

        return $query->execute();
    }
public function findRelevantEvents ( $ offset , $ limit ) { $ query = $ this -> prepareRelevantEventsQuery ( ) ; $ query -> getQueryBuilder ( ) -> setFirstResult ( $ offset ) ; $ query -> getQueryBuilder ( ) -> setMaxResults ( $ limit ) ; return $ query -> execute ( ) ; }
Find all events which are "top-level", i.e. do not have a parent event.

@param integer $offset
@param integer $limit
@return QueryResultInterface
@throws PropertyNotAccessibleException
Find all events which are top - level i . e . do not have a parent event .