vendor/shopware/core/Checkout/Promotion/PromotionCollection.php line 12

Open in your IDE?
  1. <?php declare(strict_types=1);
  2. namespace Shopware\Core\Checkout\Promotion;
  3. use Shopware\Core\Framework\DataAbstractionLayer\EntityCollection;
  4. use Shopware\Core\Framework\Log\Package;
  5. /**
  6.  * @extends EntityCollection<PromotionEntity>
  7.  */
  8. #[Package('checkout')]
  9. class PromotionCollection extends EntityCollection
  10. {
  11.     public function getApiAlias(): string
  12.     {
  13.         return 'promotion_collection';
  14.     }
  15.     protected function getExpectedClass(): string
  16.     {
  17.         return PromotionEntity::class;
  18.     }
  19. }