public function update($locale) { $this->Framework->Container->setLocale($locale); Cookie::forever($this->cookieKey, $locale); }