Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $qb->select('product')
- ->from('FocumaTCBundle:Product', 'product')
- ->join('product.ProductType', 'type')
- ->join('product.ProductImages', 'productImage')
- ->where('type.id = :productTypeId')
- ->setParameter('productTypeId', $PRODUCT_HOTEL_TYPE);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement