if ($limit !== null
) { $query->
setMaxResults($limit);
} } else { $query =
$this->
createQuery($limit);
$query->
innerJoin('variant', 's_articles_categories_ro', 'categories', 'variant.articleID = categories.articleID'
) ->
andWhere('categories.categoryID = :categoryId'
) ->
setParameter(':categoryId',
$categoryId, PDO::PARAM_INT
);
} return new LastIdQuery($query);
} /**
* @deprecated in 5.6, will be removed in 5.7 without replacement.
*
* {@inheritdoc}
*/
public function createPriceIdQuery($priceIds,
$limit = null
) { trigger_error(sprintf('%s:%s is deprecated since Shopware 5.6 and will be removed with 5.7. Will be removed without replacement.', __CLASS__, __METHOD__
), E_USER_DEPRECATED
);