Example #1
0
 /**
  * Returns whether a value has been set in the session
  *
  * @param String $key The key to test
  * @return Boolean
  */
 public function exists($key)
 {
     return $this->decorated->exists($key);
 }
Example #2
0
 /**
  * Returns whether this value has been set in the session
  *
  * @return Boolean
  */
 public function exists()
 {
     return $this->session->exists($this->key);
 }