vendor/shopware/core/Content/Seo/Hreflang/HreflangStruct.php line 9

Open in your IDE?
  1. <?php declare(strict_types=1);
  2. namespace Shopware\Core\Content\Seo\Hreflang;
  3. use Shopware\Core\Framework\Log\Package;
  4. use Shopware\Core\Framework\Struct\Struct;
  5. #[Package('sales-channel')]
  6. class HreflangStruct extends Struct
  7. {
  8.     /**
  9.      * @var string
  10.      */
  11.     protected $url;
  12.     /**
  13.      * @var string
  14.      */
  15.     protected $locale;
  16.     public function getUrl(): string
  17.     {
  18.         return $this->url;
  19.     }
  20.     public function setUrl(string $url): void
  21.     {
  22.         $this->url $url;
  23.     }
  24.     public function getLocale(): string
  25.     {
  26.         return $this->locale;
  27.     }
  28.     public function setLocale(string $locale): void
  29.     {
  30.         $this->locale $locale;
  31.     }
  32.     public function getApiAlias(): string
  33.     {
  34.         return 'seo_hreflang';
  35.     }
  36. }