vendor/shopware/core/Content/Seo/Hreflang/HreflangCollection.php line 16

Open in your IDE?
  1. <?php declare(strict_types=1);
  2. namespace Shopware\Core\Content\Seo\Hreflang;
  3. use Shopware\Core\Framework\Struct\StructCollection;
  4. /**
  5.  * @method void                add(HreflangStruct $entity)
  6.  * @method void                set(string $key, HreflangStruct $entity)
  7.  * @method HreflangStruct[]    getIterator()
  8.  * @method HreflangStruct[]    getElements()
  9.  * @method HreflangStruct|null get(string $key)
  10.  * @method HreflangStruct|null first()
  11.  * @method HreflangStruct|null last()
  12.  */
  13. class HreflangCollection extends StructCollection
  14. {
  15.     public function getApiAlias(): string
  16.     {
  17.         return 'seo_hreflang_collection';
  18.     }
  19.     protected function getExpectedClass(): string
  20.     {
  21.         return HreflangStruct::class;
  22.     }
  23. }