public function getLastIndexedItemId($rootPageId)
    {
        $lastIndexedItemId = 0;

        $lastIndexedItemRow = $this->queueItemRepository->findLastIndexedRow($rootPageId);
        if ($lastIndexedItemRow[0]['uid']) {
            $lastIndexedItemId = $lastIndexedItemRow[0]['uid'];
        }

        return $lastIndexedItemId;
    }
public function getLastIndexedItemId($rootPageId)
    {
        $lastIndexedItemId = 0;

        $lastIndexedItemRow = $this->queueItemRepository->findLastIndexedRow($rootPageId);
        if ($lastIndexedItemRow[0]['uid']) {
            $lastIndexedItemId = $lastIndexedItemRow[0]['uid'];
        }

        return $lastIndexedItemId;
    }
public function getLastIndexedItemId ( $ rootPageId ) { $ lastIndexedItemId = 0 ; $ lastIndexedItemRow = $ this -> queueItemRepository -> findLastIndexedRow ( $ rootPageId ) ; if ( $ lastIndexedItemRow [ 0 ] [ 'uid' ] ) { $ lastIndexedItemId = $ lastIndexedItemRow [ 0 ] [ 'uid' ] ; } return $ lastIndexedItemId ; }
Returns the uid of the last indexed item in the queue

@param int $rootPageId The root page uid for which to get
the last indexed item id
@return int The last indexed item's ID.
Returns the uid of the last indexed item in the queue