protected function findItem($cartId, $productId, $productSaleElementsId)
    {
        return CartItemQuery::create()
            ->filterByCartId($cartId)
            ->filterByProductId($productId)
            ->filterByProductSaleElementsId($productSaleElementsId)
            ->findOne();
    }
protected function findItem($cartId, $productId, $productSaleElementsId)
    {
        return CartItemQuery::create()
            ->filterByCartId($cartId)
            ->filterByProductId($productId)
            ->filterByProductSaleElementsId($productSaleElementsId)
            ->findOne();
    }
protected function findItem ( $ cartId , $ productId , $ productSaleElementsId ) { return CartItemQuery :: create ( ) -> filterByCartId ( $ cartId ) -> filterByProductId ( $ productId ) -> filterByProductSaleElementsId ( $ productSaleElementsId ) -> findOne ( ) ; }
find a specific record in CartItem table using the Cart id, the product id
and the product_sale_elements id

@param  int           $cartId
@param  int           $productId
@param  int           $productSaleElementsId
@return CartItem

@deprecated this method is deprecated. Dispatch a TheliaEvents::CART_FINDITEM instead
find a specific record in CartItem table using the Cart id the product id and the product_sale_elements id