/** * {@inheritDoc} */ public function get() { $value = $this->input->cookie($this->options['name']); if ($value) { return json_decode($value); } }
/** * {@inheritDoc} */ public function get() { $value = $this->input->cookie($this->options['name']); if ($value) { return unserialize($value); } }
/** * {@inherit} */ public function cookie($index = NULL, $xss_clean = NULL) { if ($this->mock_state) { return $this->_fetch_from_array($this->mock_COOKIE, $index, $xss_clean); } return parent::cookie($index, $xss_clean); }
/** * Get the Sentry cookie value. * * @return mixed */ public function get() { return json_decode($this->input->cookie($this->getKey())); }
/** * Get the Sentry cookie value. * * @return mixed */ public function get() { return unserialize($this->input->cookie($this->getKey())); }