public function findItemsByItemTypeAndItemUid(string $itemType, int $itemUid) : array
    {
        $queryBuilder = $this->getQueryBuilder();
        $compositeExpression = $queryBuilder->expr()->andX(
            $queryBuilder->expr()->eq('item_type', $queryBuilder->getConnection()->quote($itemType, \PDO::PARAM_STR)),
            $queryBuilder->expr()->eq('item_uid', $itemUid)
        );
        return $this->getItemsByCompositeExpression($compositeExpression, $queryBuilder);
    }
public function findItemsByItemTypeAndItemUid(string $itemType, int $itemUid) : array
    {
        $queryBuilder = $this->getQueryBuilder();
        $compositeExpression = $queryBuilder->expr()->andX(
            $queryBuilder->expr()->eq('item_type', $queryBuilder->getConnection()->quote($itemType, \PDO::PARAM_STR)),
            $queryBuilder->expr()->eq('item_uid', $itemUid)
        );
        return $this->getItemsByCompositeExpression($compositeExpression, $queryBuilder);
    }
public function findItemsByItemTypeAndItemUid ( string $ itemType , int $ itemUid ) : array { $ queryBuilder = $ this -> getQueryBuilder ( ) ; $ compositeExpression = $ queryBuilder -> expr ( ) -> andX ( $ queryBuilder -> expr ( ) -> eq ( 'item_type' , $ queryBuilder -> getConnection ( ) -> quote ( $ itemType , \ PDO :: PARAM_STR ) ) , $ queryBuilder -> expr ( ) -> eq ( 'item_uid' , $ itemUid ) ) ; return $ this -> getItemsByCompositeExpression ( $ compositeExpression , $ queryBuilder ) ; }
Gets Index Queue items by type and uid.

@param string $itemType item type, usually  the table name
@param int $itemUid item uid
@return Item[] An array of items matching $itemType and $itemUid
Gets Index Queue items by type and uid .