public function updateIndexTimeByItem(Item $item) : int
    {
        $queryBuilder = $this->getQueryBuilder();
        return (int)$queryBuilder
            ->update($this->table)
            ->set('indexed', time())
            ->where($queryBuilder->expr()->eq('uid', $item->getIndexQueueUid()))
            ->execute();
    }
public function updateIndexTimeByItem(Item $item) : int
    {
        $queryBuilder = $this->getQueryBuilder();
        return (int)$queryBuilder
            ->update($this->table)
            ->set('indexed', time())
            ->where($queryBuilder->expr()->eq('uid', $item->getIndexQueueUid()))
            ->execute();
    }
public function updateIndexTimeByItem ( Item $ item ) : int { $ queryBuilder = $ this -> getQueryBuilder ( ) ; return ( int ) $ queryBuilder -> update ( $ this -> table ) -> set ( 'indexed' , time ( ) ) -> where ( $ queryBuilder -> expr ( ) -> eq ( 'uid' , $ item -> getIndexQueueUid ( ) ) ) -> execute ( ) ; }
Sets the timestamp of when an item last has been indexed.

@param Item $item
@return int affected rows
Sets the timestamp of when an item last has been indexed .