lib/Psc/TPL/ContentStream/ContentStreamEntity.php
public function findNextEntry(Entry $entry) {
    $list = $this->findAfter($entry, 1);

    if (count($list) === 1) {
      return current($list);
    }

    return NULL;
  }
public function findNextEntry(Entry $entry) {
    $list = $this->findAfter($entry, 1);

    if (count($list) === 1) {
      return current($list);
    }

    return NULL;
  }
public function findNextEntry ( Entry $ entry ) { $ list = $ this -> findAfter ( $ entry , 1 ) ; if ( count ( $ list ) === 1 ) { return current ( $ list ) ; } return NULL ; }
Returns the element right after the given element

if no element is after this NULL will be returned
the $entry has to be in this contentstream otherwise an exception will thrown

@return Entry|NULL
Returns the element right after the given element