vendor/shopware/core/Framework/Struct/StructCollection.php line 13

Open in your IDE?
  1. <?php declare(strict_types=1);
  2. namespace Shopware\Core\Framework\Struct;
  3. use Shopware\Core\Framework\Log\Package;
  4. /**
  5.  * @template TElement of Struct
  6.  *
  7.  * @extends Collection<TElement>
  8.  */
  9. #[Package('core')]
  10. class StructCollection extends Collection
  11. {
  12.     public function getApiAlias(): string
  13.     {
  14.         return 'dal_struct_collection';
  15.     }
  16.     /**
  17.      * @return class-string<Struct>
  18.      */
  19.     protected function getExpectedClass(): ?string
  20.     {
  21.         return Struct::class;
  22.     }
  23. }