vendor/shopware/storefront/Page/Account/CustomerGroupRegistration/CustomerGroupRegistrationPage.php line 8

Open in your IDE?
  1. <?php declare(strict_types=1);
  2. namespace Shopware\Storefront\Page\Account\CustomerGroupRegistration;
  3. use Shopware\Core\Checkout\Customer\Aggregate\CustomerGroup\CustomerGroupEntity;
  4. use Shopware\Storefront\Page\Account\Login\AccountLoginPage;
  5. class CustomerGroupRegistrationPage extends AccountLoginPage
  6. {
  7.     /**
  8.      * @var CustomerGroupEntity
  9.      */
  10.     protected $customerGroup;
  11.     public function setGroup(CustomerGroupEntity $customerGroup): void
  12.     {
  13.         $this->customerGroup $customerGroup;
  14.     }
  15.     public function getGroup(): CustomerGroupEntity
  16.     {
  17.         return $this->customerGroup;
  18.     }
  19. }