<?php declare(strict_types=1);
namespace Shopware\Core\Content\Product\Aggregate\ProductPrice;
use Shopware\Core\Framework\DataAbstractionLayer\Pricing\PriceRuleCollection;
/**
* @method void add(ProductPriceEntity $entity)
* @method void set(string $key, ProductPriceEntity $entity)
* @method ProductPriceEntity[] getIterator()
* @method ProductPriceEntity[] getElements()
* @method ProductPriceEntity|null get(string $key)
* @method ProductPriceEntity|null first()
* @method ProductPriceEntity|null last()
*/
class ProductPriceCollection extends PriceRuleCollection
{
public function getApiAlias(): string
{
return 'product_price_collection';
}
protected function getExpectedClass(): string
{
return ProductPriceEntity::class;
}
}