public function getLastIndexTime($rootPageId)
    {
        $lastIndexTime = 0;

        $lastIndexedRow = $this->queueItemRepository->findLastIndexedRow($rootPageId);

        if ($lastIndexedRow[0]['indexed']) {
            $lastIndexTime = $lastIndexedRow[0]['indexed'];
        }

        return $lastIndexTime;
    }
public function getLastIndexTime($rootPageId)
    {
        $lastIndexTime = 0;

        $lastIndexedRow = $this->queueItemRepository->findLastIndexedRow($rootPageId);

        if ($lastIndexedRow[0]['indexed']) {
            $lastIndexTime = $lastIndexedRow[0]['indexed'];
        }

        return $lastIndexTime;
    }
public function getLastIndexTime ( $ rootPageId ) { $ lastIndexTime = 0 ; $ lastIndexedRow = $ this -> queueItemRepository -> findLastIndexedRow ( $ rootPageId ) ; if ( $ lastIndexedRow [ 0 ] [ 'indexed' ] ) { $ lastIndexTime = $ lastIndexedRow [ 0 ] [ 'indexed' ] ; } return $ lastIndexTime ; }
Returns the timestamp of the last indexing run.

@param int $rootPageId The root page uid for which to get
the last indexed item id
@return int Timestamp of last index run.
Returns the timestamp of the last indexing run .