public function loadFromSession()
    {
        $this->session = Instance::ensure($this->session, Session::className());
        if (isset($this->session[$this->cartId]))
            $this->setSerialized($this->session[$this->cartId]);
    }
public function loadFromSession()
    {
        $this->session = Instance::ensure($this->session, Session::className());
        if (isset($this->session[$this->cartId]))
            $this->setSerialized($this->session[$this->cartId]);
    }
public function loadFromSession ( ) { $ this -> session = Instance :: ensure ( $ this -> session , Session :: className ( ) ) ; if ( isset ( $ this -> session [ $ this -> cartId ] ) ) $ this -> setSerialized ( $ this -> session [ $ this -> cartId ] ) ; }
Loads cart from session
Loads cart from session