quoteManager = $quoteManager; $this->checkoutSession = $checkoutSession; $this->customerSession = $customerSession; $this->sessionHelper = $sessionHelper; parent::__construct($context); } /** * Set whether clear checkout session when logout * * @param bool $clear * @return $this */ public function setClearCheckoutSession($clear = true) { $this->clearCheckoutSession = $clear; return $this; } }