custom/plugins/WbnPromotionBanner/src/Struct/CategoryListingStruct.php line 8

Open in your IDE?
  1. <?php declare(strict_types=1);
  2. namespace WbnPromotionBanner\Struct;
  3. use Shopware\Core\Content\Category\CategoryCollection;
  4. use Shopware\Core\Framework\Struct\Struct;
  5. class CategoryListingStruct extends Struct
  6. {
  7.     /**
  8.      * @var CategoryCollection
  9.      */
  10.     private $categories;
  11.     public function getCategories(): CategoryCollection
  12.     {
  13.         return $this->categories;
  14.     }
  15.     public function setCategories(CategoryCollection $categoryCollection): void
  16.     {
  17.         $this->categories $categoryCollection;
  18.     }
  19. }