vendor/shopware/core/Checkout/Cart/Transaction/Struct/TransactionCollection.php line 12

Open in your IDE?
  1. <?php declare(strict_types=1);
  2. namespace Shopware\Core\Checkout\Cart\Transaction\Struct;
  3. use Shopware\Core\Framework\Log\Package;
  4. use Shopware\Core\Framework\Struct\Collection;
  5. /**
  6.  * @extends Collection<Transaction>
  7.  */
  8. #[Package('checkout')]
  9. class TransactionCollection extends Collection
  10. {
  11.     public function getApiAlias(): string
  12.     {
  13.         return 'cart_transaction_collection';
  14.     }
  15.     protected function getExpectedClass(): ?string
  16.     {
  17.         return Transaction::class;
  18.     }
  19. }