vendor/store.shopware.com/ndsrecipemanager/src/Core/Content/Ingredient/IngredientCollection.php line 16

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