/** * Set currency "to". * @param string $code * @param bool $session * @return self */ public function setWeb($code, $session = FALSE) { $this->web = $this->offsetGet($code); if ($session) { $this->request->setSessionCurrency($this->web->getCode()); } return $this; }