Example #1
0
 /**
  * {@inheritDoc}
  */
 public function get()
 {
     $value = $this->input->cookie($this->options['name']);
     if ($value) {
         return json_decode($value);
     }
 }
Example #2
0
 /**
  * {@inheritDoc}
  */
 public function get()
 {
     $value = $this->input->cookie($this->options['name']);
     if ($value) {
         return unserialize($value);
     }
 }
Example #3
0
 /**
  * {@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);
 }
Example #4
0
 /**
  * Get the Sentry cookie value.
  *
  * @return mixed
  */
 public function get()
 {
     return json_decode($this->input->cookie($this->getKey()));
 }
Example #5
0
 /**
  * Get the Sentry cookie value.
  *
  * @return mixed
  */
 public function get()
 {
     return unserialize($this->input->cookie($this->getKey()));
 }