vendor/shopware/storefront/Page/Page.php line 13

Open in your IDE?
  1. <?php declare(strict_types=1);
  2. namespace Shopware\Storefront\Page;
  3. use Shopware\Core\Checkout\Payment\PaymentMethodCollection;
  4. use Shopware\Core\Checkout\Shipping\ShippingMethodCollection;
  5. use Shopware\Core\Framework\Log\Package;
  6. use Shopware\Core\Framework\Struct\Struct;
  7. use Shopware\Storefront\Pagelet\Footer\FooterPagelet;
  8. use Shopware\Storefront\Pagelet\Header\HeaderPagelet;
  9. #[Package('storefront')]
  10. class Page extends Struct
  11. {
  12.     /**
  13.      * @var HeaderPagelet|null
  14.      */
  15.     protected $header;
  16.     /**
  17.      * @var FooterPagelet|null
  18.      */
  19.     protected $footer;
  20.     /**
  21.      * @var ShippingMethodCollection
  22.      */
  23.     protected $salesChannelShippingMethods;
  24.     /**
  25.      * @var PaymentMethodCollection
  26.      */
  27.     protected $salesChannelPaymentMethods;
  28.     /**
  29.      * @var MetaInformation
  30.      */
  31.     protected $metaInformation;
  32.     public function getHeader(): ?HeaderPagelet
  33.     {
  34.         return $this->header;
  35.     }
  36.     public function setHeader(?HeaderPagelet $header): void
  37.     {
  38.         $this->header $header;
  39.     }
  40.     public function getFooter(): ?FooterPagelet
  41.     {
  42.         return $this->footer;
  43.     }
  44.     public function setFooter(?FooterPagelet $footer): void
  45.     {
  46.         $this->footer $footer;
  47.     }
  48.     public function getSalesChannelShippingMethods(): ?ShippingMethodCollection
  49.     {
  50.         return $this->salesChannelShippingMethods;
  51.     }
  52.     public function setSalesChannelShippingMethods(ShippingMethodCollection $salesChannelShippingMethods): void
  53.     {
  54.         $this->salesChannelShippingMethods $salesChannelShippingMethods;
  55.     }
  56.     public function getSalesChannelPaymentMethods(): ?PaymentMethodCollection
  57.     {
  58.         return $this->salesChannelPaymentMethods;
  59.     }
  60.     public function setSalesChannelPaymentMethods(PaymentMethodCollection $salesChannelPaymentMethods): void
  61.     {
  62.         $this->salesChannelPaymentMethods $salesChannelPaymentMethods;
  63.     }
  64.     public function getMetaInformation(): ?MetaInformation
  65.     {
  66.         return $this->metaInformation;
  67.     }
  68.     public function setMetaInformation(MetaInformation $metaInformation): void
  69.     {
  70.         $this->metaInformation $metaInformation;
  71.     }
  72. }