custom/plugins/AcrisProductVideoCS/src/Custom/ProductVideoCollection.php line 16

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