custom/plugins/LenzPlatformClp/src/Core/Content/Clp/ClpCollection.php line 16

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