NotifyIfAvail/src/Entity/NotificationCollection.php
2025-03-05 02:08:16 +01:00

23 lines
568 B
PHP

<?php
namespace NotifyIfAvail\Entity;
use Shopware\Core\Framework\DataAbstractionLayer\EntityCollection;
/**
* @method void add(Notification $entity)
* @method void set(string $key, Notification $entity)
* @method Notification[] getIterator()
* @method Notification[] getElements()
* @method Notification|null get(string $key)
* @method Notification|null first()
* @method Notification|null last()
*/
class NotificationCollection extends EntityCollection
{
protected function getExpectedClass(): string
{
return Notification::class;
}
}