src/ShopifyApp/Services/ShopSession.php
public function setDomain(string $shopDomain)
    {
        $this->fixLifetime();
        Session::put(self::DOMAIN, $shopDomain);
    }
public function setDomain(string $shopDomain)
    {
        $this->fixLifetime();
        Session::put(self::DOMAIN, $shopDomain);
    }
public function setDomain ( string $ shopDomain ) { $ this -> fixLifetime ( ) ; Session :: put ( self :: DOMAIN , $ shopDomain ) ; }
Sets the Shopify domain to session.
`expire_on_close` must be set to avoid issue of cookies being deleted too early.

@param string $shopDomain The Shopify domain.

@return void
Sets the Shopify domain to session . expire_on_close must be set to avoid issue of cookies being deleted too early .