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

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. use Shopware\Core\Framework\Log\Package;
  6. /**
  7.  * @deprecated tag:v6.5.0 - Will be removed in v6.5.0
  8.  *
  9.  * @extends EntityCollection<EventActionEntity>
  10.  */
  11. #[Package('business-ops')]
  12. class EventActionCollection extends EntityCollection
  13. {
  14.     public function getApiAlias(): string
  15.     {
  16.         Feature::triggerDeprecationOrThrow(
  17.             'v6.5.0.0',
  18.             Feature::deprecatedClassMessage(__CLASS__'v6.5.0.0')
  19.         );
  20.         return 'dal_event_action_collection';
  21.     }
  22.     protected function getExpectedClass(): string
  23.     {
  24.         Feature::triggerDeprecationOrThrow(
  25.             'v6.5.0.0',
  26.             Feature::deprecatedClassMessage(__CLASS__'v6.5.0.0')
  27.         );
  28.         return EventActionEntity::class;
  29.     }
  30. }