custom/plugins/NetzpGallery6/src/Core/Content/Gallery/GalleryCollection.php line 16

Open in your IDE?
  1. <?php declare(strict_types=1);
  2. namespace NetzpGallery6\Core\Content\Gallery;
  3. use Shopware\Core\Framework\DataAbstractionLayer\EntityCollection;
  4. /**
  5.  * @method void            add(GalleryEntity $entity)
  6.  * @method void            set(string $key, GalleryEntity $entity)
  7.  * @method GalleryEntity[]    getIterator()
  8.  * @method GalleryEntity[]    getElements()
  9.  * @method GalleryEntity|null get(string $key)
  10.  * @method GalleryEntity|null first()
  11.  * @method GalleryEntity|null last()
  12.  */
  13. class GalleryCollection extends EntityCollection
  14. {
  15.     protected function getExpectedClass(): string
  16.     {
  17.         return GalleryEntity::class;
  18.     }
  19. }