Magento Extensions Rating 2024
EXTENSIONS BY CATEGORY
B2B (Business-To-Business)
Blog
Customer
ERP (Enterprise Resource Planning)
Mega Menu
One Step Checkout
Order
POS (Point Of Sale)
Search
Shopping Cart
Sitemap
SEO
Social
Stock & Inventory Management
EXTENSIONS BY DEVELOPER
aheadWorks
Amasty
Boost My Shop
BSS Commerce
Magestore
MageWorx
Mirasvit
Templates Master
Wyomind
XTENTO
Magento 2 Documentation
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
vendor
magento
module-customer
Model
Group
Retriever.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Customer\Model\Group
;
7
8
use
Magento\Customer\Model\Session
;
9
13
class
Retriever
implements
RetrieverInterface
14
{
18
private
$customerSession;
19
23
public
function
__construct
(
Session
$customerSession)
24
{
25
$this->customerSession = $customerSession;
26
}
27
31
public
function
getCustomerGroupId
()
32
{
33
return
$this->customerSession->getCustomerGroupId();
34
}
35
}
Magento\Customer\Model\Group\Retriever
Definition:
Retriever.php:13
Magento\Customer\Model\Group\Retriever\getCustomerGroupId
getCustomerGroupId()
Definition:
Retriever.php:31
Magento\Customer\Model\Session
Definition:
Storage.php:8
Magento\Customer\Model\Group\RetrieverInterface
Definition:
RetrieverInterface.php:14
Magento\Customer\Model\Group
Definition:
Retriever.php:6
Magento\Customer\Model\Session
Definition:
Session.php:22
Magento\Customer\Model\Group\Retriever\__construct
__construct(Session $customerSession)
Definition:
Retriever.php:23