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

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