Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Retriever.php
Go to the documentation of this file.
1 <?php
7 
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 }
__construct(Session $customerSession)
Definition: Retriever.php:23