RetrieverInterface.php 419 B

1234567891011121314151617181920212223
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Customer\Model\Group;
  7. /**
  8. * Interface for getting current customer group from session.
  9. *
  10. * @api
  11. * @since 101.0.0
  12. */
  13. interface RetrieverInterface
  14. {
  15. /**
  16. * Retrieve customer group id.
  17. *
  18. * @return int
  19. * @since 101.0.0
  20. */
  21. public function getCustomerGroupId();
  22. }