vendor/shopware/core/Framework/Event/EventAction/EventActionCollection.php line 29

Open in your IDE?
  1. <?php declare(strict_types=1);
  2. namespace Shopware\Core\Framework\Event\EventAction;
  3. use Shopware\Core\Framework\DataAbstractionLayer\EntityCollection;
  4. use Shopware\Core\Framework\Feature;
  5. /**
  6.  * @deprecated tag:v6.5.0 - Will be removed in v6.5.0
  7.  *
  8.  * @extends EntityCollection<EventActionEntity>
  9.  */
  10. class EventActionCollection extends EntityCollection
  11. {
  12.     public function getApiAlias(): string
  13.     {
  14.         Feature::triggerDeprecationOrThrow(
  15.             'v6.5.0.0',
  16.             Feature::deprecatedClassMessage(__CLASS__'v6.5.0.0')
  17.         );
  18.         return 'dal_event_action_collection';
  19.     }
  20.     protected function getExpectedClass(): string
  21.     {
  22.         Feature::triggerDeprecationOrThrow(
  23.             'v6.5.0.0',
  24.             Feature::deprecatedClassMessage(__CLASS__'v6.5.0.0')
  25.         );
  26.         return EventActionEntity::class;
  27.     }
  28. }