/**
  * Get the Sentry cookie value.
  *
  * @return mixed
  */
 public function get()
 {
     $key = $this->getKey();
     $queued = $this->jar->getQueuedCookies();
     if (isset($queued[$key])) {
         return $queued[$key];
     }
     if ($this->strategy === 'request') {
         return $this->request->cookie($key);
     } else {
         return $this->jar->get($key);
     }
 }
 /**
  * Load the session for the request.
  *
  * @param  Illuminate\CookieJar  $cookies
  * @param  string  $name
  * @return void
  */
 public function start(CookieJar $cookies, $name)
 {
     $id = $cookies->get($name);
     // If the session ID was available via the request cookies we'll just retrieve
     // the session payload from the driver and check the given session to make
     // sure it's valid. All the data fetching is implemented by the driver.
     if (!is_null($id)) {
         $session = $this->retrieveSession($id);
     }
     // If the session is not valid, we will create a new payload and will indicate
     // that the session has not yet been created. These freshly created session
     // payloads will be given a fresh session ID so there are not collisions.
     if (!isset($session) or $this->isInvalid($session)) {
         $this->exists = false;
         $session = $this->createFreshSession();
     }
     // Once the session payloads have been created or loaded we will set it to an
     // internal values that are managed by the driver. The values are not sent
     // back into storage until the sessions are closed after these requests.
     $this->session = $session;
 }
	/**
	 * Get the Sentry cookie value.
	 *
	 * @return mixed
	 */
	public function get()
	{
		return $this->jar->get($this->getKey());
	}
 /**
  * {@inheritDoc}
  */
 public function read($sessionId)
 {
     return $this->cookie->get($sessionId) ?: '';
 }