vendor/shopware/core/Content/Product/SalesChannel/CrossSelling/CrossSellingElementCollection.php line 10

Open in your IDE?
  1. <?php declare(strict_types=1);
  2. namespace Shopware\Core\Content\Product\SalesChannel\CrossSelling;
  3. use Shopware\Core\Framework\Struct\Collection;
  4. /**
  5.  * @extends Collection<CrossSellingElement>
  6.  */
  7. class CrossSellingElementCollection extends Collection
  8. {
  9.     public function getExpectedClass(): ?string
  10.     {
  11.         return CrossSellingElement::class;
  12.     }
  13.     public function getApiAlias(): string
  14.     {
  15.         return 'cross_selling_elements';
  16.     }
  17. }