예제 #1
0
 /**
  * Retrieve store session object
  *
  * @return \Magento\Framework\Session\SessionManagerInterface
  */
 protected function _getSession()
 {
     if (!$this->_session->isSessionExists()) {
         $this->_session->setName('store_' . $this->getCode());
         $this->_session->start();
     }
     return $this->_session;
 }